 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Holger Zwingmann Guest
|
Posted: Mon Jul 21, 2003 7:56 am Post subject: GNU gettext question |
|
|
Hi all!
I am using Delphi 7 within a german WIN2K environment. I am going to develop
a small tool (which is only going to be used within Europe) where I want to
have all my stings in English. Thus, my idea is to develop in German, put
put some English translations in the localeenLC_MESSAGES directory and add
them as embedded translations to my binary.
Am I going to run into any problems doing so? Also, being kind of new to the
microsoft world and especially to Delphi, I would like to know how to force
the generated executeable to set it's "default language" to English -
otherwise, e.g. in Spain, the above "trick" won't work, right?!
Of course it would be nicest to use a English Delphi IDE within a German
WIN2K envronment, but I have to admit that I do not know to do that. By
the way, would I still need to set my application language to English in
such a setup?
Regards,
Holger.
|
|
| Back to top |
|
 |
Lars B. Dybdahl Guest
|
Posted: Mon Jul 21, 2003 8:45 am Post subject: Re: GNU gettext question |
|
|
Holger Zwingmann wrote:
| Quote: | have all my stings in English. Thus, my idea is to develop in German, put
put some English translations in the localeenLC_MESSAGES directory and
|
Version 1.1 was recently released, and this version removes all strings that
contain non-ascii characters from the translation list. This ensures that
your translated application will work on any computer, also one belonging
to a greek guy who moved to Germany with his computer, or on a russian
computer. Therefore, I would highly recommend you to use English as
original language.
| Quote: | microsoft world and especially to Delphi, I would like to know how to
force the generated executeable to set it's "default language" to English
otherwise, e.g. in Spain, the above "trick" won't work, right?!
|
You just start programming using English strings. You don't set a default
language.
| Quote: | Of course it would be nicest to use a English Delphi IDE within a German
|
The language of the Delphi IDE has nothing to do with this.
Lars.
--
Freelance programmer
Denmark
Free GNU gettext for Delphi i18n/localization tool:
http://dybdahl.dk/dxgettext/
|
|
| Back to top |
|
 |
Holger Zwingmann Guest
|
Posted: Mon Jul 21, 2003 9:13 am Post subject: Re: GNU gettext question |
|
|
Thanks for the quick response,
but I guess I need to clearify something: The point is, that I do not want
to change each caption by hand after e.g. adding (standard-)actions using
the actionmanger. The default captions used by the actionmanager depend on
the windows language settings. Spreading these actions out by drang and
drop, e.g. to generate entries in my task-bar and menu-bar couses new
captions in the systems language. The idea is to use gettext to replace all
of those German stings. No question that using English captions when doing
everything by hand is easy.
Assuming that replacing the german stings with gettext works, I do not want
to mix languages and therefore the idea was to have everything in German and
use gettext to move to English afterwards.
Holger.
"Lars B. Dybdahl" <Lars (AT) dybdahl (DOT) dk> schrieb im Newsbeitrag
news:3f1ba814 (AT) newsgroups (DOT) borland.com...
| Quote: | Holger Zwingmann wrote:
have all my stings in English. Thus, my idea is to develop in German,
put
put some English translations in the localeenLC_MESSAGES directory and
Version 1.1 was recently released, and this version removes all strings
that
contain non-ascii characters from the translation list. This ensures that
your translated application will work on any computer, also one belonging
to a greek guy who moved to Germany with his computer, or on a russian
computer. Therefore, I would highly recommend you to use English as
original language.
microsoft world and especially to Delphi, I would like to know how to
force the generated executeable to set it's "default language" to
English
otherwise, e.g. in Spain, the above "trick" won't work, right?!
You just start programming using English strings. You don't set a default
language.
Of course it would be nicest to use a English Delphi IDE within a German
The language of the Delphi IDE has nothing to do with this.
Lars.
--
Freelance programmer
Denmark
Free GNU gettext for Delphi i18n/localization tool:
http://dybdahl.dk/dxgettext/
|
|
|
| Back to top |
|
 |
Lars B. Dybdahl Guest
|
Posted: Mon Jul 21, 2003 7:35 pm Post subject: Re: GNU gettext question |
|
|
Holger Zwingmann wrote:
| Quote: | The default captions used by the actionmanager depend on
the windows language settings.
|
Huh? I'm using a Danish Windows version with Danish settings, and everything
in my Delphi is pure English. Nothing Danish anywhere.
But anyway - everything that is ascii can be translated no matter what
language you are using.
Lars Dybdahl.
--
Freelance programmer
Denmark
Free GNU gettext for Delphi i18n/localization tool:
http://dybdahl.dk/dxgettext/
|
|
| Back to top |
|
 |
Leo Saguisag (Borland) Guest
|
Posted: Mon Jul 21, 2003 8:18 pm Post subject: Re: GNU gettext question |
|
|
Why don't you just use resourcestrings instead of going through the GNU
gettext function?
-- Leo
"Holger Zwingmann" <holger.zwingmann (AT) p3-solutions (DOT) de> wrote
| Quote: | Hi all!
I am using Delphi 7 within a german WIN2K environment. I am going to
develop
a small tool (which is only going to be used within Europe) where I want
to
have all my stings in English. Thus, my idea is to develop in German, put
put some English translations in the localeenLC_MESSAGES directory and
add
them as embedded translations to my binary.
Am I going to run into any problems doing so? Also, being kind of new to
the
microsoft world and especially to Delphi, I would like to know how to
force
the generated executeable to set it's "default language" to English -
otherwise, e.g. in Spain, the above "trick" won't work, right?!
Of course it would be nicest to use a English Delphi IDE within a German
WIN2K envronment, but I have to admit that I do not know to do that.
By
the way, would I still need to set my application language to English in
such a setup?
Regards,
Holger.
|
|
|
| Back to top |
|
 |
Lars B. Dybdahl Guest
|
Posted: Mon Jul 21, 2003 8:47 pm Post subject: Re: GNU gettext question |
|
|
Leo Saguisag (Borland) wrote:
| Quote: | Why don't you just use resourcestrings instead of going through the GNU
gettext function?
|
That would not change anything. Resourcestrings are translated the same way.
Lars.
--
Freelance programmer
Denmark
Free GNU gettext for Delphi i18n/localization tool:
http://dybdahl.dk/dxgettext/
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|