Multilingual projects

With Thorium Builder, you can create a multilingual project very easily , both for Web Sites and App projects.

Enabling multilingual features

The first thing to do is to set the additional languages you wish to add to your project, that can be done from the project settings (Tab General):

...

You must set the default language (English in our example) with the text direction,  and the other languages from the language list.

Save your project preferences, the multilingual module is now enabled.

Translating a project page 

When you are working on a page you want to translate, select the " Page String Translations” menu from the main Project menu:

...

You are now ready for translating your page:

...

Rich Text Translations

The Rich Text Editor (Paragraph, H1..H6…) contains a language popup list that lets you directly translate text that contains rich text elements (bold, italic , links…)

...

Implementing buttons for switching language

From this step, you now need to add buttons or link for switching language, for example, add 3 buttons, one for English, one for French and one for Arabic:

...

For every Button, you must the set the target language and Direction (Double Click on the button):

...

Set the Action of the Widget to “ Change Language ” and choose the target language and direction.

Run your App or Web Site:

...
...
...

See how the Arabic Layout is automatically set to RTL direction 

Copyright©  Nymphide Lab 2020 - All Rights Reserved 

...