Jump to content
uniGUI Discussion Forums
mierlp

Multi-language

Recommended Posts

hi

 

I was looking for a component for building Multi-langauge application. I wanted a component

which support both,- Win32 + UniGui.

 

I tried several components and some of them are not working with uniGui or very expansive.

 

So i ended with LangMan PREMIUM (http://regulace.org/index.php?cPath=26) and

it's working great AND it's supports Win32 + uniGui for a very nice price of € 52,00 or $ 75,00

 

 

 

Just for sharing with all of you.

 

Regards Peter

Share this post


Link to post
Share on other sites

Hi,

I used TsiLang it's working fine with unigui .

  • Like 1

Share this post


Link to post
Share on other sites

I also use TSilang with unigui for 3 languages, this component can save any property of any component for every language, you may export the translation to dictionary which make it easy to translate. And it gives you the expected width of every string for any language when you typing the translation. It is a great tool and has many advance properties.

  • Like 1

Share this post


Link to post
Share on other sites

Hi,

I used TsiLang it's working fine with unigui .

 

 

I also use TSilang with unigui for 3 languages, this component can save any property of any component for every language, you may export the translation to dictionary which make it easy to translate. And it gives you the expected width of every string for any language when you typing the translation. It is a great tool and has many advance properties.

 

When I place a TsiLang compoent on any form and run it as ISAPI DLL on IIS, the form doesn't open and unigui times out. 

 

Are there any solutions for this?

Share this post


Link to post
Share on other sites

How can I get the local language ?

I try to get LCID by this code, but it seems read server site's LCID
  SysLocale.DefaultLCID;

Share this post


Link to post
Share on other sites

Hi

Meaby this will help you:

if Unisession.Language = 'de' then 
...

 

  • Like 1

Share this post


Link to post
Share on other sites
On 5/8/2020 at 2:24 AM, hph said:

Hi

Meaby this will help you:


if Unisession.Language = 'de' then 
...

 

I appreciate your message.

Showmessage(UniMainModule.GetLCID(UniSession.LanguageCountry));

function TUniMainModule.GetLCID(aLanguage: string): string;
begin
  if (aLanguage='ja-JP') or (aLanguage='ja') then
    Result := '1041'
  else
  if aLanguage='ko-KR' then
    Result := '1042'
  else
  if aLanguage='zh-TW' then
    Result := '1028'
  else
  if aLanguage='zh-CN' then
    Result := '2052'
  else
    Result := '1033';
end;

Share this post


Link to post
Share on other sites

×