ref: ED014
User story
As an admin I want to be able to customize the language used in the platform and change the generic terms at the level of the whole instance, of a process, or of a component.
For example, use the term "Organs" instead of "Assemblies" which is the default.
Since there is a module developed by the community that allows this (https://github.com/mainio/decidim-module-term_customizer), the following is proposed:
- Install the module in Barcelona City Council instances:
- Add warning in admin:
[aviso]Advanced administration zone. If you are not sure what you are doing, you can generate serious incidents in Decidim's operation.[/aviso]
Instructions:
a) Add a new translation set and give it a name (e.g. "All processes"). The name of the set is only relevant for the admin to identify what that set is used for. It is suggested to give the sets a name that identifies the scope where it is used.
b) Apply the set to the scope or scopes where you want these customizations to be active.
c) Save the set.
d) Add the translations to the set which you want to customize within the defined scope. You can either add specific translation keys manually or search the translations from all the system's translations using the translation terms or keys.
d.1) Using the "add multiple" view is definitely easier for beginners since it allows searching for the terms and then automatically adding all the keys where that translation exists.
d.2) In case you are directly adding the translations, please note that the translation key refers to the technical key that Rails uses to refer to the translatable terms. For example, decidim.menu.processes.
- Test functionality by @decidim/product
- After 3 months of testing, if the result is satisfactory, it will be approved for integration into the base installation (commented by default), as we do with initiatives and consultations:
gem "decidim", "0.19.0"
# gem "decidim-consultations", "0.19.0"
# gem "decidim-initiatives", "0.19.0"
# gem "decidim-term_customizer", "0.19.0"
ref: ED014
User story
As an admin I want to be able to customize the language used in the platform and change the generic terms at the level of the whole instance, of a process, or of a component.
For example, use the term "Organs" instead of "Assemblies" which is the default.
Since there is a module developed by the community that allows this (https://github.com/mainio/decidim-module-term_customizer), the following is proposed: