Sign in Join

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

Mailing lists / lazarus / 2002-02

Internationalization of Lazarus

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Luis R. Hilario
to Michael Van Canneyt: Free Pascal supports the use of resource strings, and you can choose the way to translate…
Michael Van Canneyt wrote 6 lines
On Sat, 16 Feb 2002, Luis R. Hilario wrote: > Hello, > I found a problem with the editor: characters cannot be entered, like: > �����.

I now is using the following thing:

1- I Write, for example: "D�as" in the OI (in "Caption" for example). 2- Then I copy it.

Show quoted text 10 lines
> And as we are speaking of the subject. > About what system one has thought to use to translate to Lazarus to > other languages? Free Pascal supports the use of resource strings, and you can choose the way to translate them. We have added default support for GNU gettext, but you can implement any mechanism you want. You can find more information in the Programmers guide.

It means that the programmers have to use resourcestring and to move the constant that be necessary.

|------------------------------| | Luis R. Hilario | | http://www.luis-digital.8m.com | |------------------------------| _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

Reply by email

Luis R. Hilario

Hello,
I found a problem with the editor: characters cannot be entered, like: �����.

And as we are speaking of the subject.
About what system one has thought to use to translate to Lazarus to other languages?

|------------------------------| | Luis R. Hilario | | http://www.luis-digital.8m.com | |------------------------------| _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

Reply by email

Michael Van Canneyt
to Luis R. Hilario
Luis R. Hilario wrote 7 lines
Hello, I found a problem with the editor: characters cannot be entered, like: �����. And as we are speaking of the subject. About what system one has thought to use to translate to Lazarus to other languages?

Free Pascal supports the use of resource strings, and you can choose the way to translate them. We have added default support for GNU gettext, but you can implement any mechanism you want.

You can find more information in the Programmers guide.

Michael.

Reply by email

Mattias Gaertner
to Michael Van Canneyt
Show quoted text 7 lines
Michael Van Canneyt wrote: > > On Sat, 16 Feb 2002, Luis R. Hilario wrote: > > > Hello, > > I found a problem with the editor: characters cannot be entered, like: > > �����.

added to my bug list.

Show quoted text 9 lines
> > And as we are speaking of the subject. > > About what system one has thought to use to translate to Lazarus to > > other languages? > > Free Pascal supports the use of resource strings, and you can choose the > way to translate them. We have added default support for GNU gettext, > but you can implement any mechanism you want. > > You can find more information in the Programmers guide.

I think, resource strings are pretty good and easy for that. There are about 100 string constants in the IDE, 300 in the codetools and a few in the LCL. I think, they should be gathered in three units:
idestrconst.pas, codetoolsstrconst.pas and lclstrconst.pas

The language option should then be placed in the environment options.

Any volunteers?

Mattias

Reply by email