With Thorium Builder, you can create a multilingual project very easily , both for Web Sites and App projects.
Multilingual projects can even support Right To Left Languages (Hebrew, Arabic...)
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.
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:
Strings that don’t require a translation can be kept empty
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…)
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 “
” and choose the target language and direction.
Run your App or Web Site:
See how the Arabic Layout is automatically set to RTL direction
For a Web site, the process is exactly the same, but there is an additional feature: you can add parameters at the end of your url for forcing a language and direction, for example: