Issue Bug Rejected

#41918English is not shown as default language

Xavier Perseguers 10/12/12, 13:16 updated 10/14/12, 18:27

Description

When the TYPO3 Backend provides a language whose name is alphabetically sorted before “English”, a user with Backend in default language (thus English) will see the other language as “selected” when she opens her user settings.

How to reproduce:

  • Choose English as default language in user settings
  • Go to Extension Manager and selects, e.g., Albanian (sq) as available language
  • Either download translation files for Albanian or at least create directory typo3conf/l10n/sq (corresponding language key)
  • Go back to user settings, Albanian is selected although TYPO3 behaves correctly and shows the Backend in English

Problem is located within method renderLanguageSelect() of the user settings module (EXT:setup) because it sorts the available languages by name but forgets to set selected="selected" to English if English is the default language. This causes the first entry in the selector to be visually selected.

Please comment here if another version of TYPO3 is affected, I’ll take care of fixing this.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.