Omnis localisation

Aus MHC-Wiki

Wechseln zu: Navigation, Suche

omnisloc

For localisation of Omnis internal Strings (e.g. Yes/No, month names, etc.) you should have a look at the local folder in your Omnis studio folder. You will find the following files:

localib.pdf
locomnis.pdf
omnisloc.df1
omnisloc.lbs
trans.lbs

locomnis.pdf is the documentation. The files of interest are:

omnisloc.df1
omnisloc.lbs

If you try this with Omnis => 4.3.1 (e.g. the latests: 4.3.1.4, v5 fixes these bug) you will find that omnisloc.lbs is protected and could only be opened with the runtime. The workaround is to download and use the omnisloc.lbs from here. Direct links: unicode / non unicode

To start the localisation process open omnisloc.lbs. You will be propted to choose a omnisloc.df1 file. Then you will get the following screen:

Bild:Omnis-loc.png

To create a new language click Insert (CV) and then adjust the values as required. When you are done click OK. Now restart Omnis. Go to the Omnis studio prefs and set the newlanguage property to your newly created language and restart Omnis again. Now the localisation is active.

For runtimes you have to ship the localised omnisloc.df1. When the lewlanguage property is set at runtime the runtime has to be restarted too. If you use a default language other than English you can pre set it in the runtime you ship.

Persönliche Werkzeuge
Navigation