Skip to main content
1-Visitor
September 5, 2016
Question

Fatal behaviour of change_locale

  • September 5, 2016
  • 1 reply
  • 2246 views

In our company we have Creo Elements Drafting with server-side startup scripts loaded, that include a lot of text notes in Shift-JIS encoding. The default language of Creo Drafting 18.1 is Japanese.

 

When trying to use change_locale 'en' the Creo Drafting standard menus, and buttons are switched to English words, but the program completely looses the ability to load any script with Japanese text inside.

 

Windows 7x64 has Japanese system locale set up.

 

Is there a way to force English standard menu/buttons, while keeping Japanese locale for reading scripts in Shift-JIS?


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

1 reply

17-Peridot
September 5, 2016

Hello

for macro's have a look in the "Program Reference Guide"

for the command

DEFINE_ENCODING

Best regards

hhale1-VisitorAuthor
1-Visitor
September 5, 2016

As I mentioned earlier, macros are server-side. This means, I can not change macros.

I need to change menu buttons to English text, while maintaining Japanese locale.

Can you please be more specific about DEFINE_ENCODING. How should I use it outside the macros mentioned?

17-Peridot
September 6, 2016

Hi,

>Can you please be more specific about DEFINE_ENCODING.

you can find some more information in the installation directory of drafting "appendix.htm"  "Section 7: Unicode Support"   "Macro file encoding"

>How should I use it outside the macros mentioned?

outside the macros, I think that this does not work.