Adding languages

<< Click to Display Table of Contents >>

Navigation:  Receipt editor > Receipt definition file format >

Adding languages

Previous pageReturn to chapter overviewNext page

To add a new language you need to copy the receipt XML and change the languageCode attribute. For example to add Finnish language, you would copy from <printout... starting tag to </printout> ending tag. Then change the languageCode to ”fi-FI” to mark the receipts as Finnish language receipts:

 

 <printout

         type=”returnReceipt”

         languageCode=”fi-FI”

         ...

 ...

 ...

 </printout>

 

Then translate all strings within that receipt definition to the new language.

Only the return receipt uses the language of the user interface; all other receipts use the default language, so there is no need to copy all receipts. If you wish to change the default language of the system, then you need to make sure that you have the hold slip and transfer slip receipts in that language, too.