MoI discussion forum
MoI discussion forum

Full Version: French><English

From: Zooen
8 May   [#1]
Hi Michael,
Would it be possible for you to create a script that would let me switch between English and French using a keyboard shortcut?
I'm working on my “FrenchStrings.txt” file to refine my personal translation of MoI3D. So I often need to switch back and forth between the two languages.
Thank you in advance for looking into this.
From: Michael Gibson
8 May   [#2] In reply to [#1]
Hi Zooen,

re:
> Would it be possible for you to create a script that would let me switch between
> English and French using a keyboard shortcut?

Try putting this for the "Command" part of the keyboard shortcut:

script: /* Toggle language between English/French */ if ( moi.ui.language != 'English' ) { moi.ui.language = 'English'; } else { moi.ui.language = 'French'; }

- Michael
From: Zooen
9 May   [#3] In reply to [#2]
Thank you so much, Michael !