Hi,
I managed to make my application multi-language. It was a bit tricky. There are several Wiki pages describing the process, but it seems to me they were made for different stages/versions of Lazarus. For instance, the name of the unit to include varies. Also, I've never seen Lazarus generate a .po file. Instead, I got a .pot file. Weirdly, it contained only a fraction of my strings until I noticed the "move each form once, then save" hint.
Anyway, it works, and I'm wondering about two things:
1) Is there an elegant way of dealing with UI strings that are used repeatedly? Or can the inspector refer to (resource) strings defined elsewhere? I don't want to fill in all my captions programmatically because I like the "full preview" the form designer gives me.
2) How resilient to identifier renames is the whole I18N mechanism? I noticed full "identifier paths" are included in the language files, but not in all cases. I also saw language files containing some hashes, presumably to be able to assign strings properly after a rename has been made?
Cheers!
Joerg