The PrimalScript 2015 localization support.

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 8 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
Dimitri_C
Posts: 1
Last visit: Mon Mar 11, 2024 12:21 pm

The PrimalScript 2015 localization support.

Post 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.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: The PrimalScript 2015 localization support.

Post 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.
User avatar
Alexander Riedel
Posts: 8473
Last visit: Tue Mar 19, 2024 1:15 am
Answers: 19
Been upvoted: 37 times

Re: The PrimalScript 2015 localization support.

Post 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
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 8 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked