Skip to content
⌘ NSIS Forum Archive

How to load translation strings for my own app?

3 posts

ogden_ogly#

How to load translation strings for my own app?

I am using the modern UI translations, but my installer has a number of strings which also need translations. I notice if I do a !MUI_LANGUAGE "English" than I can't use LoadLanguageFile to load strings for my own application. Is there another mechanism I should be using?

Otherwise I will write a tool which merges several language files into one, so I can maintain some semblance of separation of concerns. But I have trouble believing this is the correct path?

Thanks,
ogden
Red Wine#
!insertmacro MUI_LANGUAGE "language_name" among others loads the corresponding language file (nlf).
All you further need to translate your own strings is LangString,