Posts

Showing posts from October, 2017

Delphi - TLanguage localizaton tool

Image
There are many translation tools around for Delphi: they can be free or not and of course each one has pros and cons. I have decided to write my localization tool called TLanguages which is a component that is compatible with VCL and FMX! This component is very easy to use and it is useful in small projects where you have some strings to localize. I have written this for myself where I don't need a lot of lines of text to be localized but I want to share it with you in case you'll ever need it. The usage is pretty easy: Open the Editior. If you already have a file, then just open it! Otherwise, write in the box the path in which you want the new file to be created.  Now add some words. The Default language cannot be deleted and it will be used (surprise) as default language. Click Save Edits and open the Delphi IDE. Create a new project (just as test) and the click Project -> Resources and Images -> Add... -> load the json file containing the translatio