Skip to content
⌘ NSIS Forum Archive

Readme text file in multi language

3 posts

sunlight112#

Readme text file in multi language

When I create my install, I often allow user to read readme text file. I set up my program in multi language. I hope I can help user to read readme text file with the true language which they use to set up. I only make one readme text file for all language. Someone knows the other styles to help me show readme text file in true language.
Thank a lots, 🙂
{_trueparuex^}#
Name the language files with their language identifier. e.g. readme-1033.txt (eng), readme-1035.txt (fi), ... You can MakeLangId utility in the NSIS bin directory to get the language ids for all the languages.

In NSIS $LANGUAGE variable will contain the language identifier so you can use it in the readme file path name when you open the readme file.

ExecShell "" "$PLUGINSDIR\readme-$LANGUAGE.txt"