Page 1 of 1

Application:Multilanguage Tool[Localised]

Posted: Sat Dec 10, 2016 6:40 am
by collectordave
Hi All

Looking for an easy way to make my apps multilingual started with the translated list of words. Now produced Language Tool to help in adding multilingual support.

Basic operation is you choose a project you wish to add language support to and then choose the language that the literal strings in the project uses. the programme then creates a Resources folder in the project if not allready there and copies a language file and an ignore file to that folder. A Locale.pbi file is copied to your project folder at the same time.

Each .pb and .pbi file in the project is then listed (if the project is in a single folder). Once listed each file can be selected and scanned. Scanning locates all strings enclosed in double quotes in the selected file. As each is found it is checked against the language file and ignore file if not found in either you will be asked whether the string should be held for translation, answering yes will add the string to the language file no will add the string to the ignore file. You will need to scan each file twice if a file is scanned and all strings are found either in the language file or the ignore file it is ready for update and will be shown in the scanned files list.

Once some files have been scanned you can edit the language file for this project you will have all languages available and ll your texts ready for translation. Best to do this before updateing your files.

Updated files are kept in the project folder with a "LT_" added to the front of the file. If your project is multifile then each module can be changed one at a time so you can see the effects of the update in just a single module. Your original files are not changed.

This is still in alpha stage so download and test any suggestions for improvement etc please post here bug reports as well.

If anyone can offer better translations for the common words used please also post here and I will add them to the basic download.

More info in help file which I need to write.

Link to code:-https://www.dropbox.com/s/v2snpk4pqsutc ... l.zip?dl=0

This includes two very simple test applications so you can see the effect.

Basic Help File addedd to download
Cancel added to scanfile


Enjoy