PDA

View Full Version : Multilanguage



Stefan_M
12-01-2003, 01:31 PM
Online help says:

Create a Multilingual Application
To create a project that supports more than one language, create one project for each language you wish to support, and one master project to decide which project to launch.

I'm using for each language a laguage.lua file (GERMAN.lua, English.lua ...)
In this file I'm assinging text to variables.
The first picture includes the language selection with the action:
On CLose:
dofile(_SourceFolder.."\\Autoplay\\Scripts\\"..Lang..".lua");

All pages includes On Preload the actions ...set("Objectname", variablename) for all objects needed in the pages.

In this case, I only change one script for all (five ) languages.
The *.lua are simple to change and to translate.

OEM customers can simple change texts without having the source.


Does anyone know a better way?

The project shows how it worked for me.
(Sorrry for the design, it's only for testing)

Stefan