Language Change

The Language Change operation is used to change the language of the Language Table.

Block
Text

changeLanguage(EXPRESSION);
                   1

1: Language table number

(Example)

  1. Add a Switch object (Switch1) on the screen.
  2. Create Table1 and Table2 in Language Table editor.
  3. In the Script editor, add a Touch trigger and select [Click].
  4. Add a Screen Object and set as Switch1 into the Touch trigger.
  5. Add a Language Change operation and connect Constant block.
  6. Select [Int] and set 2 (Table2) in Constant block.
    Block

    Text

    onClick($GraphicObject.Switch1, ()=>{

    changeLanguage(2);

    });

    → When you click the Switch object, the text changes to content of Table2.