Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   How to load translation strings for my own app? (http://forums.winamp.com/showthread.php?t=270868)

ogden_ogly 8th May 2007 22:10

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 8th May 2007 22:57

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

http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.15.2

ogden_ogly 8th May 2007 23:54

Thank you very much :)


All times are GMT. The time now is 04:18.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.