moish wrote:
I'd like some peer's comments:
- You may use rcube_language_aliases variable in
program/localization/index.inc
One general task is to always use 5-char codes for a localization which means that the localization folders need to be renamed as well. Then we can fill up $rcube_language_aliases with all 2-char codes that are currently used in $rcube_languages in order to support all (old) language codes saved in the user prefs.
The system use rcube_languages or rcube_language_aliases to set the locale. 2. config/main.inc sets the default locale
Once we only have long localization names, we can use them directly for set_locale() because we only use UTF-8 which can be hard-coded.
BTW, index.inc defines also charset other then the default
$rcube_charsets is not used (anymore). Should be removed from index.inc
~Thomas
List info: http://lists.roundcube.net/dev/