add a --update-theme-locales=theme into fusiondirectory-setup
Descriptive title for this enhancement
add a --update-theme-locales=theme into fusiondirectory-setup
Actual behavior
actually the fusiondirectory-setup --update-locales has been conceived to update the locales for the plugins
Expected behavior
now we started to have locale inside the theme do to heavy customisation or special needs. In the condorcet instance we have localized .tpl inside the theme that is installed alongside FusionDirectory
running fusiondirectory-setup --update-theme-locales=condorcet will merge the locale for this them with the global locale
Step by step description of new behaviour
- we store the locale for the theme in ihtml/theme/condorcet/locale
- We need to merge the locale in ihtml/theme/condorcet/locale to the core fusionDirectory locale in /usr/share/fusiondirectory/locale
- We only need to do that for the selected theme
Benefits
- This will help having customized theme with special text if needed
- This will allow theme to ba packaged for Debian and Centos/Redhat and automitically merge the locale of the theme with the installed version
Possible Drawbacks
None
Applicable Issues
Using a theme that not distributed by FusionDirectory