Skip to content
⌘ NSIS Forum Archive

Language files

10 posts

Wyz#

Language files

Hi !
* Try to use LoadLanguageFile "${NSISDIR}\Contrib\Language Files\Englidh.nlf" in a project file and look at the caption of the compiled exe : it displays "NAME Setup" instead of using the Name variable...
* I have also a request concerning languages... For example I'd like to replace "Available space:" by "Available space : "... But I'm not sure that the space at the end will be displayed correctly... Maybe you could add a string like the nbsp html one in order this space to be displayed...
CU
rainwater#
Re: Language files

Originally posted by Wyz
Hi !
* Try to use LoadLanguageFile "${NSISDIR}\Contrib\Language Files\Englidh.nlf" in a project file and look at the caption of the compiled exe : it displays "NAME Setup" instead of using the Name variable...
Make sure you set the Name value after you include the language file.
kichik#
English is the default language if you didn't specify the /LANG parameter or used another string setter/LoadLanguageFile before.

Name bla
LoadLanguageFile english.nlf

Should work, and works for me.

If you write:

Name bla
LoadLanguageFile german.nlf

however, it will not work because the "bla" name was set to the English string table.
Wyz#
Hum. I'm don't know how to express myself 🙁
*I'd like spaces to be displayed when reading from .nlf file. But when it is at te end of the string, it is not sure it is present...
* I noticed also that Name works when put AFTER LoadLanguage (LoadLanguage file.nlf then Name "bla")
Regards
kichik#
I am sorry, but I don't understand the problem. When loading NLFs NSIS does use each and every space from it.
Wyz#
It might comes from text editor... I can't know if there is a space at the end or not. Will try w/ an other one to see.
CU
Wyz#
It's just the .nlf file I have in my NSIS dir... I wanted to modify some things (like to add a spca at the end of some strings)
I will try w/ an other text editor
CU