Am Dienstag, 12. Mai 2015 um 15:03:58, schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org> > Le 12/05/2015 14:36, Jürgen Spitzmüller a écrit : > > 2015-05-12 10:37 GMT+02:00 Jean-Marc Lasgouttes: > > > > 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. > > > > Hm, ordering by lyx name seems more natural to me. > > So, why is ngerman with german, and austrian somewhere else? Why is > greek nearby polutonikogreek? > > The answer is easy: only sorting by GUIName, or maybe lang code groups > together what belong to getther. Babel names are just horrible for > classification. > > > 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. > > > > That would make sense. > > I'll try that. > > JMarc
We already have a file whose content could be used to group languages: lib/lyx2lyx/lyx2lyx_lang.py. Each language has e.g 'canadian' has appropriate locale e.g. 'en_CA'. This value could be used also for ordering. Just my 2c. Kornel
signature.asc
Description: This is a digitally signed message part.