DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Localization in Delphi

 
   Reply to topic    DELPHI AREA Forum Index -> Delphi Programming
View previous topic :: View next topic  
Author Message
Kalyan
Member


Joined: 17 Jan 2005
Posts: 1

PostPosted: 17/01/05 13:10    Post subject: Localization in Delphi Reply with quote

I am currently working on Internationalization of an existing Delphi application. I got strucked up at one point. I am able to convert all the hard coded strings in the forms into locale specific using Localizer Tool. But in my application I have a constants.pas file in which all the constatnts are declared. How to convert all the constants defined in English to Locale Specific language. How to pick up the strings based on the system locale.
Back to top
View user's profile
Stefan
Member


Joined: 27 Sep 2004
Posts: 49
Location: Netherlands

PostPosted: 17/01/05 15:00    Post subject: Reply with quote

Do you want the application to be able to switch languages at runtime, or is it ok for you to compile two (or more) different executables?

- if two or more executables: just change the constants.pas entries to the specific language and recompile

- if you want to determin it runtime, use language DLLs (see Delphi help for that) :
Contents
Programming with Delphi
Creating international applications
Creating resource DLLs

Cheers,
Stefan
Back to top
View user's profile Send e-mail
Display posts from previous:   
   Reply to topic    DELPHI AREA Forum Index -> Delphi Programming All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.6 © 2001, 2002 phpBB Group