Saturday, November 01, 2008

DevExpress will have a localizer tool

The TcxLocalizer component helps you localize those of your applications that use our controls, as well as third-party or standard controls. This component provides centralized control over an application’s UI language or locale. Using this component, switching to another locale is as simple as changing a single option.

http://community.devexpress.com/blogs/ctodx/archive/2008/10/31/vcl-subscription-new-localization-tool-coming-in-next-build.aspx

1 comment:

Anonymous said...

hi bart,

currently i developed the simplest way of translating an application (though i didnt invent the wheel). i automatically created an ini file with all my forms, captions and hints. so the formname is the section name and comp-caption/hint are the values. the above is a 1 time operation.

anyone who wants to translate my application, simply take the template file and instead of the english strings type the new strings in his own language.

inside my app, when the user selects a certain language i simply load the relevant ini and each time i load a form i automatically translate everything inside it (with the same mechanism i collected those strings)

the main advantages are:
1) the files are outside the exe so the exe remains small relatively
2) anyone can translate the app to any language using notepad (though i developed a built in translation editor (inside the app itself)
3) switching languages to the user is as easy as 2 clicks.
4) this mechanism can work under any application in no time perhaps with minor adjustments

with the current way DX works i can integrate it to my mechanism, i hope the new one wont add problems to where there werent any before.