
GeoBASIC User Manual
7 — Multiple Language Support
7-2 TPS1100-Version
2.10
Strings which are not passed to a
_Token
parameter can not be handled with the
Text Utility. They are hard coded into program object code. The only way to
internationalise them is to use
MMI_GetLangName
to select an appropriate text
string in GeoBASIC code separated by a conditional statement.
See sample file "
language.gbs
".
7.1 TEXT
UTILITY
The TPS1100/1000 Text Utility (Text Translation Tool) supports GeoBASIC text
files. This section describes the most important steps of generating multiple
language files. The following picture shows the Text Utility after the import of a
GeoBASIC text file:
7.1.1
Generating new language files
For creating a multiple language application, the following steps are necessary:
1. After starting the Text Utility press the
-button, select GeoBASIC Text
Files (*.l??) in the choice list “File of type:” and open the generated
*.lng
file (i.e.
sample.lng)
. Answer the question “Do you want to convert this
file?” with YES. In the next dialog you can specify the path and the version of
the text database which is generated from the
*.lng
file (i.e.
sampl100.mng
). The version is automatically included at the end of the file
name. Press OK to start the conversion.
2. Press the -button, select a language in the choice list “New language”,
enter the path of the new language database and press OK to start the
Содержание tps1100
Страница 1: ...GeoBASIC FOR TPS1100 User Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 150: ...GeoBASIC FOR TPS1100 Reference Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 411: ...GeoBASIC Reference Manual 6 System Functions TPS1100 Version 1 30 6 7 6 5 35 CSV_LibCallAvailable 6 213 ...
Страница 620: ...TPS1100 Version 2 10 6 1 ...
Страница 621: ......
Страница 623: ...TPS1100 Version 2 10 6 1 ...
Страница 624: ......
Страница 1053: ...TPS1100 Version 1 30 E 1 Appendix E GEOFONT ...
Страница 1154: ...GeoBASIC Reference Manual Appendix J List of Predefined Identifiers TPS1100 Version 1 30 J 9 TMC_SetOffsetDist 6 128 ...