GNOME Bugzilla – Bug 690535
Brazilian Portuguese translation not being displayed in Brazilian Portuguese WIndows 7 systems
Last modified: 2013-12-08 13:58:19 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.
(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?
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.
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.
Created attachment 232091 [details] [review] patch to fix the issue tentative fix
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 on attachment 232091 [details] [review] patch to fix the issue comitted to both gimp-2.8 and head
So is this bug fixed now?
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.
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.
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.
There are nightly builds at http://nightly.darkrefraction.com/gimp/
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).