Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

pt-br localisation not working #1208

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

pt-br localisation not working #1208

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: Richard
[Submitted to the original trac issue database at 9.22am, Friday, 26th September 2008]

Hi Ulf,

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?

Ah - I think I see what's happening. system.capabilities.language in ActionScript expects pt-BR, but it's being fetched from the wiki as pt-br (lower case), possibly due to Mediawiki's strange capitalisation rules. I'll adapt the localisation script and let you know if it works. Sorry for the hassle.

cheers
Richard
@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 7.24pm, Saturday, 4th October 2008]

Will be fixed in 0.10d.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant