Le 11/05/2015 21:02, Stephan Witt a écrit :
Am 11.05.2015 um 17:18 schrieb Jürgen Spitzmüller <[email protected]>:
This solution strikes me odd. The languages file is for document languages
support. Having it to be ordered for GUI language purposes just does not feel
right.
+1
I would rather create a separate file for UI languages with the appropriate GUI
names.
Isn't it possible to use a sorted hash map and let the languages file untouched?
Concerning the ordering of languages, seriously the current ordering is
just broken, and I think that ordering by GUIName is much more useful
for a human editor.
Concerning a different file: the fact is that our current code for UI
language relies on the information from the language file (for GUIName,
language name and language code). We could choose to duplicate this
information to make our life more difficult, but somehow it does not
feel wise to me.
If you do not like my brilliant method based on ordering (!), I can
propose to add a GuiLanguage=0/1 tag to the language file.
JMarc