Archive: Double_Byte String implementation


Double_Byte String implementation
All,
Please forgive my persistence about this, but it still isn't clear to me how to add custom Japanese/Korean/etc strings to an installer (since the script cannot be unicode). I have read the docs and looked at scripts and searched the Forum, but still can't seem to find an answer. Sorry!

Should I add my custom strings to the nlf files? Should I create instead my own custom string file and include it somehow?

Sorry to bug everybody,
Thanks,
Gary


Create header files, one per language, each encoded with the appropriate ANSI codepage and fill them with LangString definitions.


kichic,
Thanks for your fast reply. Can I bug you to show a short example of the header format? The NLF files are different from the NSH files, and it might take me quite a while to figure out exactly what's needed.

Thanks so much for helping - I can't be alone in this, there must be others who need exactly the same thing!

Thanks again,
Gary


Use LangString in the header files. You can also use the following:

http://nsis.sourceforge.net/Creating...ating_with_MUI


I wan't yet using the Modern UI, but if required, I will. Can it be done not using MUI?

sorry I'm a pain.


I said you can also use that. You don't have to use the MUI.


OK, ONE more thing and then I'll stop pestering you!!

I observe that the "Japanese.nlf" language files has entries in it which can be saved in ANSI format. A typical entry looks like this:

# ^ClickInstall
Æ’Cƒ“ƒXÆ’g[ƒ‹‚ðŽn‚ß‚é‚É‚Í [Æ’Cƒ“ƒXÆ’g[ƒ‹] ‚ðƒNÆ’Å_Æ’bÆ’N‚µ‚ĉº‚³‚¢B

When I attempt to add my additional string like this:

# ^SuccessNOReboot
インストールはæ_£å¸¸ã«çµ‚了しました。

Notepad (and other apps) warn me that Unicode information is present, and will be lost if I save to ANSI.

My question: Is it possible to translate to Japanese using only a limited ANSI character set? (that is, intentionally limiting your character set to the first JPN table.)

Thanks!


No, you can't save using Notepad if you're using the wrong codepage. Use a program that allows you to select the codepage to save, without changing the system's codepage (through the Regional and Language Options control panel).