home Iyonix Select Acorn RISCOS 4
AppBasic
back/gif
bullet Territories
bullet How to translate a Toolbox application
bullet How to create multi-lingual applications

Multilingual
Acknowledgement
AppBasic's internationalisation features have been produced under the guidance of Detlef Thielsch of a4 computers in Germany. Thanks are also due Detlef for the German translation of AppBasic and to David Feugey and Benoit Gilon for the French translation.

Multilingual applications

AppBasic works, as far as possible, independently of language:

bullet Applications do not need to be written in English and can, in principle, be written in any language
bullet Applications produced by AppBasic are easily translated. This can be done by anyone - no coding is required.

Like all Toolbox applications, an AppBasic application determines which language is required from the territory module present in the computer. This assigns a territory number to each lanuage.

1UK8Portugal15Norway22Ireland
2Master9 Esperanto16Iceland23Hong Kong
3Compact10Greece17Canada124Russia
4Italy11Sweden18Canada225Russia2
5Spain12Finland19Canada26Israel
6France13(not used)20Turkey27Mexico
7Germany14Denmark21Arabic28Latin America

Certain AppBasic applications also have an alternative system where the system variable Territory$Preferences is defined as a comma-separated list of territory numbers. E.g.

*Set Territory$Preferences 6

or

*Set Territory$Preferences 6,7

The most preferred territory is to the right. In the first example France will be preferred to the default; in the second example Germany is preferred, then France (then the default). (E.g. To try this out, set Territory$Preferences, as above, to either 6,7 or 1 then load AppBasic onto the iconbar. It will now work in the language you have chosen.)