Ticket #1659 (new defect)
Case-sensitive locales (error when all lowercase)
| Reported by: | ischommer | Owned by: | ischommer |
|---|---|---|---|
| Priority: | medium | Milestone: | 2.3.1 |
| Component: | i18n | Version: | |
| Severity: | medium effort / impact | Keywords: | |
| Cc: | ischommer, bfojcapell | Hours: |
Description
We had some problems where magically the specified locale on the translationserver was all lowercase, ie. in table i18nEntity_lang.Lang. this seemed to happen on a module-by-module basis (not all entities of a language were affected).
this caused the language-name to dissappear from the public status table (as php-array-indices are case-sensitive as well).
easy manual fix (for "fr_FR" here):
UPDATE `i18nEntity_lang` SET Lang = 'fr_FR' WHERE Lang = 'fr_fr'
check if there's any strtolower()-conversion going on (e.g. when updating files->database on translationserver), or if any filenames are retrieved with the wrong casing and used as a locale name.
Change History
Note: See
TracTickets for help on using
tickets.
