Take a look at how the magnifier handles this. It's a class which
centralizes all necessary strings and can translate them on demand:

http://magnifier.svn.sourceforge.net/viewvc/magnifier/trunk/translationsvmg.pas?revision=128&view=markup

The contents of each translate function could be moved to .inc files,
to make it easier for translators, I just hadn't time to do that.

The advantages are:

* Can be translated at run-time, no need to restart

* Accepts comments to help translators

* No need for IFDEFs

-- 
Felipe Monteiro de Carvalho
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to