Re: Translation problems with default location in Weather applet



Ankitkumar Rameshchandra Patel wrote:

Simos Xenitellis wrote:


Dear All,

Several translations have problems with the default location in the Weather applet.
The default location is used when you add the weather applet on your panel; it is the default location for your locale.
Normally you put here the most common location, for example, the capital city of your country.


For the last year the translator comments for these messages were misleading (they were not updated when gweather got a face lift).
See the changes at
http://cvs.gnome.org/viewcvs/gnome-applets/libgweather/gweather-gconf.c?r1=1.2&r2=1.3


The bug report is at
http://bugzilla.gnome.org/show_bug.cgi?id=325327
and has been fixed on HEAD.

The following languages have some problem with the code of the default location, "DEFAULT_CODE"
bn
gl
gu
hi
hy
ky
mk
ms
ne
pa
sq
ta
te


The code should be a 4 letters long, like "LGAV" for Athens, Greece.
You would put here the capital city or any location with the biggest concetration of speakers of your language.
See for available locations for your country
http://cvs.gnome.org/viewcvs/gnome-applets/gweather/Locations.xml.in?view=markup


(1.7MB HTML page)

The following languages have some problem with the name of the default location, "DEFAULT_LOCATION":
ar
az
bn
fa
gl
gu
he
ky
mk
ms
pa
rw
sq
ta
th
vi
zh_CN
zh_TW


The translation should be in your own language/script. Please do not put in English.
msgfmt gets fooled with the underscore here and reports an error.
The underscore in DEFAULT_LOCATION is not a shortcut. How can we say to gettext about this, as we do with "no-c-format" for the percentage sign?
Some languages added the underscore in the translation here. There should be no underscore.


DEFAULT_COORDINATES:
Almost half of the languages got this one wrongly. The coordinates are like "37-56N 023-56E". In some cases, the location code has been placed here.
Get the location coordinates from
http://cvs.gnome.org/viewcvs/gnome-applets/gweather/Locations.xml.in?view=markup



DEFAULT_ZONE:
Only US/Canada have these zones, so in most cases this stays empty. To get the translation stats look ok, you
can simply add a space in the translation. gweather will consider the zone as unknown and will not display something.
If you translate to "DEFAULT_ZONE", gweather will use the default zone, in Pittsburgh.


DEFAULT_RADAR:
As with DEFAULT_ZONE.

In some cases, DEFAULT_LOCATION has been translated verbatim resulting in a string that happens to be rather long.
This can cause a buffer overflow, making the weather applet to crash as soon as you start it.
If you get this crashing behaviour, it comes from the translation.


If there are more weather locations for your country, you can make a bug report to add them to
http://cvs.gnome.org/viewcvs/gnome-applets/gweather/Locations.xml.in?view=markup


Cross reference the above URL with the page
http://weather.noaa.gov/international.html

Simos


"gu" (Gujarati-India) is fixed now !

Hi Ankit, Thanks for fixing this.

I just found out that the brand new GNOME Bugzilla grants points to the bug contributors.
Therefore, if you would like to get your first bugzilla point (see: http://bugzilla.gnome.org/page.cgi?id=points.html)
feel free to "close" the GNOME Weather bug (change the status to FIXED and commit the changes), at
http://bugzilla.gnome.org/show_bug.cgi?id=325393


GNOME Bugzilla has a hall of fame and thanks to these two localisation bugs, I just made it to the top 15 bug reporters :)
http://bugzilla.gnome.org/reports/weekly-bug-summary.html


To list all the reports on Gujarati, simply visit
http://bugzilla.gnome.org/browse.cgi?product=l10n
and click on the number next to your language (the number shows how many bug reports are pending for the language).


When you click on the language name, it adds the name to the search box above and allows you to search for reports.
However, there is a bug in Bugzilla for this (=ill-formed query), and I just file a new bug report
http://bugzilla.gnome.org/show_bug.cgi?id=325454
[One more bug point for me! :) ]


Therefore, I would suggest for all language teams to have a look at the bug reports for their respective language
and start collecting bug points. If there are any problems with this procedure, please report back so we fix them.


Happy New (Gregorian) Year 2006,
Simos



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]