Resolution: Won't Fix
Affects Version/s: 6.0.12 EE, 6.2.0 CE M5
Similar Issues:Show 5 results
LPS-11155 Flags in the the language portlet changes order once a language is selected. LPS-12721 Language preferences being overridden LPS-25174 Language keys are in the wrong order in email_notifications.jsp LPS-64213 Language hooks are not correctly loaded when configuring files without any order or configuring more than one file for default properties or for a specific locale LPS-66009 Language does not display correctly after first save
Create a Hook that overrides languages with the following hierarchy (and keys)
(where XX is a locale like 'it')
When requesting the 'key1' for the locale XX the returned value is from Language-ext.properties.
The expected behavior is to read the value for the key1 in Language_XX.properties file.
The problem is that the current logic merges the two files for the default locale and then for each XX file, it first merges the file with the default keys and then replaces the existing keys for that locale. The result in our case is that when Language-ext_XX.properties is processed, key1 from Language_XX.properties will be overwritten with key1 from the default files.