Hey Y'All,
I've added the necessary PO files to translate my fp-humanize package.
I'm aware of how to trigger the translations on a GUI app:
- Enable the i18n setting on the project options
- Create the necessary files on the folder you specify on the above option
- Add the DefaultTranslator unit on the form/forms you want translated
Alas, I've never did it for a runtime only package.
I've had a look at the DefaultTranslator and LCLTranslator units, to se what's being done there, so I could maybe repeat it...
It confused me more that it gave me a solution.
I do not want to add a dependency on LCL on a package that is completely just calls to formatting stuff.
So, please, do not suggest using SetDefaultLang, since that would need a dependency on LCL.
Is there a similar function that exists that is not dependant on the LCL?
Cheers,
Gus