Examples of the program are short and every single function, there are only a few applications. Is that enough for beginners do not know, but I think it needs a few more complete examples that include menus, forms and reports. I attached one (already seen).
An example is in English, but there are also following that has translated into my language, Serbian. Translation is in the folder lang and there are files with translation
The following program is nlsedit which serves to make the necessary. There are three steps,
analysis of the program - reads strings in programs,
changes - allows input translation, and
save finally translate
When there is a LINE shift and tell translation
LINE 0 is reserved for the name of the language, so it will be called files
LINE <0 is reserved for comments
The programs i18n.prg features that are necessary
nls_init - at the beginning of
nls_select - language selection
nls_lang - to display the translation
Finaly, strings you want to translate replace it with a translation nls_lang (n)
It looks like this
Code: Select all
DEFINE POPUP nls_lang(4) // date
MENUITEM nls_lang(5) ACTION edit_cost() // costs
MENUITEM nls_lang(6) ACTION edit_pay() // payment
MENUITEM nls_lang(7) ACTION md_cost() // costs and payment
SEPARATOR
MENUITEM nls_lang(8) ACTION MainForm.Release // exit program
END POPUP
For the next language is sufficient editor, so I'll ask the members of good will to do the translation for your language and leave it on the forum
Regards to all