After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 690535 - Brazilian Portuguese translation not being displayed in Brazilian Portuguese WIndows 7 systems
Brazilian Portuguese translation not being displayed in Brazilian Portuguese ...
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Internationalisation
2.8.2
Other Windows
: Normal normal
: 2.8
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2012-12-20 02:49 UTC by Joao S. O. Bueno
Modified: 2013-12-08 13:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Choose pt_BR for Portuguese - Brazil UI language (433 bytes, patch)
2012-12-21 18:48 UTC, Jernej Simončič
none Details | Review
patch to fix the issue (468 bytes, patch)
2012-12-21 20:09 UTC, Joao S. O. Bueno
committed Details | Review

Description Joao S. O. Bueno 2012-12-20 02:49:55 UTC
Whenever one installs GIMP 2.8 in a Windows 7 in Brazil, it shows up with the Portugal version of Portuguese instead. (pt, instead of pt_BR )

Brazilian Portuguese can be displayed by manually picking Brazilian Portuguese in the preferences dialog - but that is hard to find by most users. (One will simply think that the only available Portuguese is the one displayed, as it is the case, often, for proprietary software).

Since some words used in I.T. contest are quite different between Brazilian Portuguese and the spoken in Portugal, this is a quite annoying situation. (Even the word used for "file" is completly different - "Arquivo" in pt_BR and "ficheiro" in pt - this is the very first word seem on the U.I., all the time)

I don't have a Windows machinne available to test or debug this out.
Comment 1 André Klapper 2012-12-20 14:40:38 UTC
(In reply to comment #0)
> Whenever one installs GIMP 2.8 in a Windows 7 in Brazil, it shows up with the
> Portugal version of Portuguese instead. (pt, instead of pt_BR )

Which language did you choose when installing? What are the available options?
Comment 2 Jernej Simončič 2012-12-21 18:48:13 UTC
Created attachment 232088 [details] [review]
Choose pt_BR for Portuguese - Brazil UI language

I think this should fix the problem, but somebody with access to Brazilian Portuguese system should test it.

The rest of the list in language.c should also be reviewed for language variants.
Comment 3 Enrico Nicoletto 2012-12-21 20:08:29 UTC
Jernej, I have a Windows 7 x64 pt_BR system that could test it, but i don´t know how to compile that files in MS Windows.

Could you provide me an .exe installer ou help me teaching how to compile it?

Thanks, Enrico.
Comment 4 Joao S. O. Bueno 2012-12-21 20:09:59 UTC
Created attachment 232091 [details] [review]
patch to fix the issue

tentative fix
Comment 5 Joao S. O. Bueno 2012-12-21 20:11:18 UTC
Damn it bugzilla - as I've written before losing my comments: 
it is the right palce to make the fix, but the wrong fix - 
this will turn Portuguese installs from Portugal in to Brazilian Portuguese - breaking those as well.
Comment 6 Joao S. O. Bueno 2012-12-21 20:16:19 UTC
Comment on attachment 232091 [details] [review]
patch to fix the issue

comitted to both gimp-2.8 and head
Comment 7 Michael Natterer 2012-12-25 16:50:43 UTC
So is this bug fixed now?
Comment 8 Joao S. O. Bueno 2013-01-02 11:55:49 UTC
I hope so - but I didn't get to a Windows PC to make the test with a nightly build yet.  Maybe Enrico could test it?

Anyway, I think Brazillian portuguese is not the ony language where this issue will arise - checking the patched file reveals that all listed languages use the 2 letter code - for example - all variante of English will fallback only to "en"  (no en_GB or en_CA in the file) - and I can't see "zh" listed in languages.c at all. - (in po dir  we do have zh_CN, zh_HK and zh_TW)

So once we confirm this fix, a review of this file is needed so that suitable defuaults get in place for various languages.
Comment 9 Enrico Nicoletto 2013-01-02 12:11:37 UTC
Yes, certainly it´ll be very cool for me test it, but before everything I´ll need that someone has previously compilated these files to Windows.

Thanks, Enrico.
Comment 10 Max Mustermann 2013-01-02 12:35:16 UTC
Test with GIMP master on Windows 8: ok
The installer also offers pt_BR as default in a Brazilian Portuguese Windows UI.

Enrico, thank you for your offer. The build I tested with is ~500 MB, so I decided to not make it public. If you're interested in building yourself for Windows (and contributing to GIMP on Windows development), you find more information at http://wiki.gimp.org/index.php/Main_Page and help in #gimp at irc.gimp.org. You're welcome.
Comment 11 Joao S. O. Bueno 2013-01-02 12:58:21 UTC
There are nightly builds at http://nightly.darkrefraction.com/gimp/
Comment 12 Enrico Nicoletto 2013-01-02 13:43:42 UTC
It's terrific! Thanks a lot Sven and Joao !!!


I had favorited the Gimp wiki and I´ll think about it (seeing if i have the prerequisites, for instance).