如何在Delphi XE中将我的应用程序国际化? [英] how to internationalize my application in Delphi XE?
问题描述
我去Projet-> langages-> add选择英文)
然后我翻译文本(这里是按钮)
我更新它,并全部编译:
我得到了.exe和.enu文件,它是法语。 p>
当我去Projet-> languages->设置活动,我选择英语,我编译所有,我的应用程序现在是英文(按钮说 hello )
很好。
然而,我的目标是,当计算机配置更改$时,我的应用程序自动从法语 - >英语b $ b例如:将我的电脑设置更改为英文:
(我用键盘设置一样)
然而,我的应用程序始终保持默认的langage我放在Project-> Langages-> Set Active
如何使我的Project.exe根据我的电脑配置自动选择正确的语言?
查看 http://dxgettext.po.dk/ 替换标准翻译管理器
。
这增加了众所周知的 gettext 工具集到您的项目。
I am using the Translation Manager Included in Delphi (xe8, but should be the same in older version)
I go to Projet->langages->add (choose english).
Then I translate the texts(here the button)
I update it all and compile it all: I got the .exe and .enu file and it is french.
When I go to Projet->languages->set Active and I choose english, I compile it all and my application is now in english (button says hello)
That's great.
However my goal is that my application AUTOMATICALLY swicthes from french->english when computer config changes ex : I change my PC settings to english:
(I do the same with keyboard setting)
However my applicatin ALWAYS stays withe the default langage I put in Project->Langages->Set Active
How to make my Project.exe automatically choose the right langage depending on my PC configuration ?
Take a look at http://dxgettext.po.dk/ replacement for standart Translation Manager
.
This adds the support of well-known gettext toolset to your project.
这篇关于如何在Delphi XE中将我的应用程序国际化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!