Ticket #1659 (new defect)

Opened 13 months ago

Last modified 4 weeks ago

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

Changed 10 months ago by sminnee

  • priority changed from critical to medium
  • milestone set to 2.2.3 feature-lock

Changed 9 months ago by nlou

  • cc ischommer, bfojcapell added

Hi Ingo, did somebody manually fixed the data? can't find the wrong data in database. Is this ticket still valide? since it has been a long time.

Changed 9 months ago by ischommer

  • owner changed from nlou to ischommer

Changed 2 months ago by sminnee

  • milestone 2.2.3* deleted

Changed 4 weeks ago by sminnee

  • milestone set to 2.3.1
Note: See TracTickets for help on using tickets.