Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-08

How to set my locale

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tawee Laoitichote

Dear Lazalus 's fans,

I've just installed Lazalus, and rush to set my locale, Thai. Unfortunately, it does not work. Help, please

Tawee L.

Reply by email

Mattias Gärtner
to Tawee Laoitichote

Zitat von Tawee Laoitichote :

Dear Lazalus 's fans, I've just installed Lazalus, and rush to set my locale, Thai. Unfortunately, it does not work. Help, please

Do you mean translated strings or things like date and time formats?

There is no Thai translation for the IDE yet, so you will see English everywhere.
Maybe you want to start it? It is easy.
The strings are stored in simple text files and there are programs like poedit and kbabel which allow more comfortable editing.

Mattias

Reply by email

Tawee Laoitichote
to Mattias Gärtner
Mattias G?rtner wrote 25 lines
Zitat von Tawee Laoitichote : > Dear Lazalus 's fans, > > I've just installed Lazalus, and rush to set my locale, Thai. > Unfortunately, it does not work. Help, please Do you mean translated strings or things like date and time formats? There is no Thai translation for the IDE yet, so you will see English everywhere. Maybe you want to start it? It is easy. The strings are stored in simple text files and there are programs like poedit and kbabel which allow more comfortable editing. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Thanks Mattias, I found a file in /etc/lazarus/environmentoption.xml; no other files else within the same directory. And, it is listed as follow:

<?xml version="1.0"?>
<CONFIG>
<EnvironmentOptions>
<Version Value="106"/>
<Debugger Class="TGDBMIDebugger"/>
<DebuggerFilename Value="/usr/bin/gdb">
</DebuggerFilename>
<LazarusDirectory Value="/usr/lib/lazarus/">
<History Count="1">
<Item1 Value="/usr/lib/lazarus/"/>
</History>
</LazarusDirectory>
<CompilerFilename Value="/usr/bin/fpc">
<History Count="3">
<Item1 Value="/usr/local/bin/fpc"/>
<Item2 Value="/usr/bin/fpc"/>
<Item3 Value="/opt/fpc/fpc"/>
</History>
</CompilerFilename>
<FPCSourceDirectory Value="/usr/share/fpcsrc/$(FPCVER)/"> <History Count="2">
<Item1 Value="/usr/share/fpcsrc/"/>
<Item2 Value="/usr/share/fpcsrc/$(FPCVER)/"/>
</History>
</FPCSourceDirectory>
<MakeFilename>
<History Count="1">
<Item1 Value="/usr/bin/make"/>
</History>
</MakeFilename>
<TestBuildDirectory Value="/tmp/">
<History Count="2">
<Item1 Value="/tmp/"/>
<Item2 Value="/var/tmp/"/>
</History>
</TestBuildDirectory>
</EnvironmentOptions>
</CONFIG>

BTW, my os is kubuntu 9.04. What to do next?

tawee

Reply by email

Mattias Gaertner
to Tawee Laoitichote
Show quoted text 21 lines
On ????? 14 ??????? 2009 16:47:29 Mattias G?rtner wrote: > Zitat von Tawee Laoitichote : > > Dear Lazalus 's fans, > > > > I've just installed Lazalus, and rush to set my locale, Thai. > > Unfortunately, it does not work. Help, please > > Do you mean translated strings or things like date and time formats? > > There is no Thai translation for the IDE yet, so you will see > English everywhere. > Maybe you want to start it? It is easy. > The strings are stored in simple text files and there are programs > like poedit and kbabel which allow more comfortable editing. >[...] Thanks Mattias, I found a file in /etc/lazarus/environmentoption.xml; no other files else within the same directory. And, it is listed as follow: [...the standard options for linux...]

Since you didn't answer my questions, I assume you didn't understand them. I will try in other words:

When you start lazarus you will see, that all text, captions and menu items are in English. Lazarus has many translations including German, Finnish, Chines and many more, but no Thai. No one has yet sent us a translation for Thai. You can set the language in the menu under Environment / Options.

A related topic is how to get the right date and time format in your programs for functions like DateToStr, which converts a date to a string. Your programs can use the clocale unit to automatically use the right date format.
See here
http://lazarus-ccr.sourceforge.net/docs/rtl/clocale/index.html

Mattias

Reply by email

waldo kitty
to Mattias Gaertner
Mattias Gaertner wrote 8 lines
Since you didn't answer my questions, I assume you didn't understand them. I will try in other words: When you start lazarus you will see, that all text, captions and menu items are in English. Lazarus has many translations including German, Finnish, Chines and many more, but no Thai. No one has yet sent us a translation for Thai. You can set the language in the menu under Environment / Options.

i think that, in so many words, Tawee was also asking where to locate those translation files so they might possibly do the requested translation to Thai ;) they did find one file that was seemingly related but apparently not :)

FWIW anyway...

Reply by email

Mattias Gaertner
to waldo kitty
Show quoted text 14 lines
Mattias Gaertner wrote: > Since you didn't answer my questions, I assume you didn't understand > them. I will try in other words: > > When you start lazarus you will see, that all text, captions and > menu items are in English. Lazarus has many translations including > German, Finnish, Chines and many more, but no Thai. No one has yet > sent us a translation for Thai. You can set the language in the menu > under Environment / Options. i think that, in so many words, Tawee was also asking where to locate those translation files so they might possibly do the requested translation to Thai ;) they did find one file that was seemingly related but apparently not :)

Maybe this helps:
http://wiki.lazarus.freepascal.org/Translations_/_i18n_/_localizations_for_programs#Translating_the_IDE

Mattias

Reply by email

Tawee Laoitichote
to Mattias Gaertner
Mattias Gaertner wrote 29 lines
On Thu, 20 Aug 2009 05:23:16 -0400 waldo kitty wrote: > Mattias Gaertner wrote: > > Since you didn't answer my questions, I assume you didn't understand > > them. I will try in other words: > > > > When you start lazarus you will see, that all text, captions and > > menu items are in English. Lazarus has many translations including > > German, Finnish, Chines and many more, but no Thai. No one has yet > > sent us a translation for Thai. You can set the language in the menu > > under Environment / Options. > > i think that, in so many words, Tawee was also asking where to locate > those translation files so they might possibly do the requested > translation to Thai ;) they did find one file that was seemingly > related but apparently not :) Maybe this helps: http://wiki.lazarus.freepascal.org/Translations_/_i18n_/_localizations_for_ programs#Translating_the_IDE Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Thanks both waldo and Mattias, I will start reading the web link you provided. Hopefully, it may have the thai locale in future...

tawee

Reply by email