I noticed in LCLproc rev:20896 use new units "gettext" in uses.
What if i am not use gettext for translation of my application?.
I dislike gettext, and not like to compile it in my applications.
---
I am sorry for my bad English.
Thanks

Mailing lists / lazarus / 2009-07
9 messages · 6 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
I noticed in LCLproc rev:20896 use new units "gettext" in uses.
What if i am not use gettext for translation of my application?.
I dislike gettext, and not like to compile it in my applications.
---
I am sorry for my bad English.
Thanks
Hi,
it is also used by Forms unit. Is it then so big problem?
Tom
Emm, not so big, but it is problem if i have my own translation engine and it will make conflict with it.
I mean i must distribute my languages with Lazarus PO files for example.
I just want to open discusses, may be we need to have transparent translation engine (hooks or Application call events ...).
Thanks
First question: what's wrong with the existing mechanism?
it is also used by Forms unit. Is it then so big problem? Tom
Dear list members:
I need to display a portion of an scrollable scale from 0 to 30 like a simple ruler, in a vertical position.
the view box is smaller than the scale (or ruler) length and the portion to be shown is determined by the height of this box.
the initial item shown will change in accordance to a lecture in an array.
I need some help to do that. I have done a similar one containing text in a horizontal position.
I use version 0.9.27.
thanks in advance an awaiting your help,
yours truly
Ing. H?ctor F. Fiandor
---------------------------------------
Red Telematica de Salud - Cuba
CNICM - Infomed
First question: what's wrong with the existing mechanism?
Florian Klaempfl wroteFirst question: what's wrong with the existing mechanism?
Even if there is no wrong in existing mechanism (if you mean gettext), the idea is like Database engine, it must not force developers to use one Database, even if choose the best one, for that there is many kind of layers that let us choose the favorite database.
About gettext, i also use PO files for multilanguage, not MO file as like Lazarus, but i have my own parser and some extra properties suitable with my application, it long story need a good English writer :) .
Thanks
But nobody forces you to use gettext ? The resource strings can be loaded using any mechanism you want. gettext is just one of the possibilities, and was implemented by default because it is the de-facto standard on unixes.
Michael.
On Mon, Jul 20, 2009 at 11:53 AM, Florian Even if there is no wrong in existing mechanism…
Zitat von Zaher Dirkey :
Lazarus uses po files directly, not mo files like gettext. Lazarus uses the same mechanism as gettext to choose the language, because this is the standard on most unixes.
but i have my own parser and some extra properties suitable with my application, it long story need a good English writer :) .
Mattias
Hi
Lazarus uses po files directly, not mo files like gettext.
Yes i knew that, but when review my post i found i have mistake in the order of my words :) , i meant (i also use this like Lazarus)
In summary i like to have translation manager can be changed like as changing the "memory manager" to our own functions.
Thanks