Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 28 Mar 2024, 16:20

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Language change
PostPosted: 05 Apr 2021, 10:44 
Offline

Joined: 15 Mar 2021, 16:33
Posts: 37
Hi

Any easy way to change one time the language in all Ehlib Labels and messages.

Regards


Top
 Profile  
 
 Post subject: Re: Language change
PostPosted: 06 Apr 2021, 13:35 
Offline

Joined: 08 May 2014, 18:06
Posts: 660
Hello

Simple way to change language in the EhLib is to assign global property LanguageResourceManagerEh.ActiveLanguageAbbr.
like this:

Code:
uses ... LanguageResManEh;

LanguageResourceManagerEh.ActiveLanguageAbbr := 'FRA'; //French


But before assigning the property, you need to prepare the language resources.

You can see the Demo project <EhLib Archive>\Demos\MainDemo\Project1.dpr
and also read "Language resources of the library." section in the "EhLib Users Guide.doc" file.

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 60 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group