Page 1 of 1

The PrimalScript 2015 localization support.

Posted: Mon Jan 18, 2016 1:39 pm
by Dimitri_C
Does the PrimalScript 2015 support localization? I want localize existing VBScript project with different languages: French/Canadian, Japanese and Chinese (Traditional) languages.

Re: The PrimalScript 2015 localization support.

Posted: Mon Jan 18, 2016 2:07 pm
by jvierra
You cannot localize VBScript. PowerShell supports culture and locale but has no facilities to directly localize. You would have to place all of you strings in files and handle the locale yourself. If you create modules they can be localized.

Re: The PrimalScript 2015 localization support.

Posted: Mon Jan 18, 2016 11:57 pm
by Alexander Riedel
I am not sure what you mean by localization "support". Typically you would use Unicode for your script files, which is obviously supported and include constants for your messages and strings in the desired languages.
Then find the local language of the computer
http://www.tech-archive.net/Archive/Scr ... 00695.html
and show the corresponding string