Sign in Join

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

Mailing lists / lazarus / 2003-06

.po encoding

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Marco Ciampa

During translation of lazarus .po files in italiano I've just noted a fiew things:

1) lazarus main .po file contains many duplicated strings, is it correct?
2) what is the default/should-be/better encoding for po files? Gnome project has UTF-8 and I think it could be a good choice
3) why most of .po files has no encoding headers?

TIA

"Knowledge is knowing a street is one way. Wisdom is still looking in both directions." Marco Ciampa _________________________________ Naviga www.numeroverdeweb.it

Reply by email

Mattias Gaertner
to Marco Ciampa
Show quoted text 5 lines
During translation of lazarus .po files in italiano I've just noted a fiew things: 1) lazarus main .po file contains many duplicated strings, is it correct?

Yes, the rstconv program creates doubles. But the update script localize.sh removes the doubles from the translated po files, so you can simply ignore the doubles in the base po files.

2) what is the default/should-be/better encoding for po files? Gnome project has UTF-8 and I think it could be a good choice

Hmm. This will probably result in making some things unreadable on old systems. But I don't know how unreadable. For me UTF-8 is ok.

3) why most of .po files has no encoding headers?

Probably lazyiness. Feel free to send me fixed versions.

Mattias

Reply by email