05.01.2013 Views

Upgrade Toolkit

Upgrade Toolkit

Upgrade Toolkit

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.3 Multilanguage Enabling the Database<br />

number range for the text constants that are being converted, DAN is the language<br />

code of the language (Danish) that the files are in, 1030 is the language ID of that<br />

language and "ÆØÅæøå" are the special characters in that language.<br />

Making Captions<br />

In a multilanguage-enabled database, the user sees only captions - not names. The<br />

make-ml tool creates captions and names them after the Name property when there<br />

are missing captions in an object. This procedure does not replace any existing<br />

captions.<br />

To install the make-ml tool:<br />

· In Windows Explorer, copy the make-ml tool from the Upgtk folder to the working<br />

folder, for example C:\Multilanguage\W1\NF\260.<br />

The files that you need are:<br />

make-ml.bat<br />

make-ml2.exe<br />

To make captions by copying the contents of the Name property to the Caption<br />

property:<br />

1 In the new Navision 4.0 application, export a translation file by selecting the objects<br />

in the Object Designer that you want to give captions and clicking Tools, Translate,<br />

Export. Save this file as ENW1_client_360.txt.<br />

2 Go to your command prompt (or DOS) and change directory to the working folder,<br />

for example C:\Multilanguage\W1\NF\260.<br />

3 Enter the following command line, but exchange the files names for the names of<br />

the files that you have created:<br />

make-ml ENW1_360_client.txt cap_ENW1_360_client.txt 1033<br />

where make-ml is the name of the tool, ENW1_360_client.txt is the name of the<br />

base file that you created in step · above, cap_ENW1_360_client.txt is the name<br />

of the target file, and 1033 indicates the language ID that is the base application<br />

language for this database, in this case English (United States).<br />

4 When the tool has created the new client text file, open the new Navision 4.0<br />

application, and import the cap_ENW1_client_360.txt file by selecting all objects<br />

in the Object Designer and clicking Tools, Translate, Import.<br />

5 Compile all objects.<br />

Post-Processing<br />

The post-processing process includes testing for errors. You should go through the<br />

objects that you have converted to identify problem areas. The use of option variables<br />

is one such problem area.<br />

29

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!