Re: Translation problems with default location in Weather applet



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

_______________________________________________
gnome-i18n mailing list
gnome-i18n gnome org
http://mail.gnome.org/mailman/listinfo/gnome-i18n

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

Regards,
Ankit


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