I am the author of the NSIS installer for the program LyX (lyx.org). In it I have the same task: I have several language dictionaries and need to sort them. I used always the English names, independent on the chosen installer language because everybody knows the English name of his language.
Doing this is not difficult: Here is the part of my NSIS code that does this:
Section "!${APP_NAME}" SecCore
SectionIn RO
!if ${SETUPTYPE} == BUNDLE
# if no TeX was found MiKTeX will be installed which requires space
!if $PathLaTeX == ""
AddSize 1020000 # size in KB
!endif
!endif
SectionEnd
# Expand the list of dictionaries by default as this was requested by several
# users. For the thesaurus this is was not requested because this section
# is by default empty.
SectionGroup /e "Dictionaries" SecDictionaries
I am the author of the NSIS installer for the program LyX (lyx.org). In it I have the same task: I have several language dictionaries and need to sort them. I used always the English names, independent on the chosen installer language because everybody knows the English name of his language.
Doing this is not difficult: Here is the part of my NSIS code that does this:
#------ ------- ------- ------- -----
# visible installer sections
Section "!${APP_NAME}" SecCore
SectionIn RO
!if ${SETUPTYPE} == BUNDLE
# if no TeX was found MiKTeX will be installed which requires space
!if $PathLaTeX == ""
AddSize 1020000 # size in KB
!endif
!endif
SectionEnd
Section "$(SecFileAssoc Title)" SecFileAssoc ciations "true"
StrCpy $CreateFileAsso
SectionEnd
Section "$(SecDesktopTi tle)" SecDesktop
StrCpy $CreateDesktopIcon "true"
SectionEnd
# Expand the list of dictionaries by default as this was requested by several
# users. For the thesaurus this is was not requested because this section
# is by default empty.
SectionGroup /e "Dictionaries" SecDictionaries
Section /o "Afrikaans" SecDAfrikaans
StrCpy $DictCodes "af_ZA,$DictCodes"
AddSize 1440
SectionEnd
Section /o "Arabic" SecDArabic
StrCpy $DictCodes "ar_DZ,$DictCodes"
AddSize 2500
SectionEnd
Section /o "Armenian" SecDArmenian
StrCpy $DictCodes "hy_AM,$DictCodes"
AddSize 2000
SectionEnd
Section /o "Bahasa Indonesia" SecDIndonesian
StrCpy $DictCodes "id_ID,$DictCodes"
AddSize 217
SectionEnd
Section /o "Bahasa Melayu" SecDMalayan
StrCpy $DictCodes "ms_MY,$DictCodes"
AddSize 227
SectionEnd
Section /o "Belarusian" SecDBelarusian
StrCpy $DictCodes "be_BY,$DictCodes"
AddSize 1730
SectionEnd
Section /o "Brezhoneg" SecDBreton
StrCpy $DictCodes "br_FR,$DictCodes"
AddSize 5510
SectionEnd
...