On Fri, Sep 26, 2008 at 6:30 PM, Ulf Mehlig <[EMAIL PROTECTED]> wrote:
> Hello Richard,
>
> many thanks for providing potlatch. I've a question regarding the
> translation of potlatch messages. According to
>
>        http://wiki.openstreetmap.org/index.php/Template:Potlatch/Translation
>
> translated messages should be integrated automatically when a new
> version appears. However, when I start (on Linux), say, firefox under a
> Brazilian Portuguese locale by
>
>        LC_ALL="pt_BR.UTF-8" firefox
>
> the program itself uses Brazilian Portuguese messages but Potlatch does
> not, in spite of
>
>        http://wiki.openstreetmap.org/index.php/Pt-br:Potlatch/Translation
>
> being available for some time now. Am I missing something?
>

Flash seems to pick up the language from the LANG environment.
So:
  LANG="lolcat.UTF-8" firefox

works just fine for me.

The other problem seems to be that potlatch is expecting a direct
match on "pt-br", and it doesn't understand "pt_BR"
So:
  LANG="pt-br.UTF-8" firefox

works for potlatch, but obviously not for firefox.

This can be part fixed by changing the name of the wiki page to use an
underscore, but the script that pulls them in [1] needs fixing too as
it normalises the languages to lowercase, which for regional
variations is wrong.

Dave

[1] 
http://trac.openstreetmap.org/browser/applications/editors/potlatch/localise.pl

_______________________________________________
talk mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk

Reply via email to