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 638380 - Translation is not used in all dialogs
Translation is not used in all dialogs
Status: RESOLVED NOTGNOME
Product: gnome-phone-manager
Classification: Other
Component: general
0.65
Other Linux
: Normal normal
: ---
Assigned To: none
none
Depends on:
Blocks:
 
 
Reported: 2010-12-31 01:25 UTC by Khaled Hosny
Modified: 2011-01-21 14:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Khaled Hosny 2010-12-31 01:25:51 UTC
Although all dialogs are translated (I'm testing Arabic) and the translation is installed, the hints of the icon as well as the "send message", "received message" and "about" dialogs are showing English strings. I doubled checked and all the relevant strings are marked for translation and are indeed translated in the PO file.
Comment 1 Khaled Hosny 2010-12-31 01:31:21 UTC
It is worth noting that GTK stoke icons are translated, only phone manager specific stings in the mentioned dialogs are not.
Comment 2 Daniele Forsi 2010-12-31 11:49:41 UTC
The translation is working as expected on my (non Arabic) system; closing as NOTABUG as I suspect a misconfiguration on your part, reopen if I'm wrong.

If you are really using 0.65 note that in the Arabic translation some strings where fuzzy, so the English version is showed for them:

#: ../data/phonemgr.glade.h:23
#, fuzzy
msgid "Send Message"
msgstr "إر_سال رسالة"

#: ../data/phonemgr.glade.h:18
#, fuzzy
msgid "Message Received"
msgstr "تاريخ الاستلام:"

#: ../src/menu.c:44
#, fuzzy
msgid "Send and receive messages from your mobile phone."
msgstr "    يرسل رسائل خاصة لمستخدم على الشبكة."

#: ../src/menu.c:56
#, fuzzy
msgid "Phone Manager website"
msgstr "مدير الطاقة"

If instead you are using the git version, make sure that you are running the executable you compiled and that it loads the up to date translation.
Comment 3 Khaled Hosny 2011-01-01 00:45:12 UTC
I doubled checked before opening this bug, and checked again now. I'm using the self compiled binary from git, checked with `strace` and it is indeed loading the correct .mo file, I even run `msgunfmt` over the file and all the needed stings are there. I went further and removed the distribution supplied version, run a clean build from git and still getting the same untranslated dialogs.
Comment 4 André Klapper 2011-01-17 21:25:20 UTC
They are marked as FUZZY, as explained before. Hence there is no bug here, fix the ar translation instead...
Comment 5 Khaled Hosny 2011-01-17 21:41:31 UTC
THEY ARE NOT. I'm building from git master where all relevant strings are translated (some strings are fuzzy, some are not even translated, but non is related to the aforementioned dialogs.)

For example, here is the snippet of all status icon strings:

#: ../src/icon.c:59
msgid "Message arrived"
msgstr "وصلت رسالة"

#: ../src/icon.c:62
msgid "Connected"
msgstr "مُتصل"

#: ../src/icon.c:66
msgid "Connecting to phone"
msgstr "يتصل بالهاتف"

#: ../src/icon.c:70
msgid "Not connected"
msgstr "غير متّصِل"

None is fuzzy, yet all the status icon messages I see are English. The same goes for the other mentioned dialogs.

I've been doing FOSS l10n for some five years now, so be sure I checked every possible cause before opening this report, including digging into the code trying to find any obvious bug, and it puzzles me but I'm sure it has nothing to do with the translation itself, not something I can figure at least.
Comment 6 André Klapper 2011-01-17 21:51:42 UTC
I can only find the string "Send message" in the po file:
#: ../src/menu.c:87
msgid "_Send Message"
msgstr "أر_سل رسالة"
#: ../data/phonemgr.glade.h:22
msgid "Send Message"
msgstr "أرسل رسالة"

What are exactly the other ones?
Comment 7 Khaled Hosny 2011-01-17 21:56:32 UTC
Just to be sure, I created a dummy translation using "podebug" utility with all strings translated and I still get the same English messages and dialogs aswith the real translation.
Comment 8 Khaled Hosny 2011-01-17 22:05:57 UTC
(In reply to comment #6)
> I can only find the string "Send message" in the po file:
> #: ../src/menu.c:87
> msgid "_Send Message"
> msgstr "أر_سل رسالة"
> #: ../data/phonemgr.glade.h:22
> msgid "Send Message"
> msgstr "أرسل رسالة"
> 
> What are exactly the other ones?

I was referring to whole dialogs, the send message dialog and received message dialog. Actually, I found that all dialogs except the preferences dialog are not translated (this includes about dialog with no translators credits tab though the string is translated).
Comment 9 Daniele Forsi 2011-01-21 14:10:53 UTC
This was caused by a bug in libgnokii 0.6.28 and 0.6.29 fixed now with
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=cf78439ee759b7ba6cf4d75b307880a71febf41c