Incorrect translation encoding

Bug #510190 reported by Muhammad Bashir Al-Noimi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Keryx
Confirmed
Undecided
mac9416

Bug Description

As shown in the screenshot, Arabic translation didn't appear correctly. I don't know why but it seems that encoding of translation file is incorrect.

I suggest to change encoding of translation file to UTF-8.

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote :
mac9416 (mac9416)
Changed in keryx:
status: New → Confirmed
assignee: nobody → mac9416 (mac9416)
Revision history for this message
mac9416 (mac9416) wrote :

Thanks for the bug report.

First of all, I have to admit that none of the development team knows very much about translations, so bear with us.
When I bundled translations with 0.92.3 I downloaded them all as .mo files. If I understand correctly, that means they are compiled and the character encoding cannot be changed. Perhaps I should have used .po files?

Test this for me: download the Arabic translation and replace the locale/ar files in the Keryx directory with those files. I would suggest trying both .mo and .po files.
you can download the Arabic translation files here: https://translations.edge.launchpad.net/keryx/stable/+pots/keryx/ar/+export

Let me know if any of that helps.

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote : Re: [Bug 510190] Re: Incorrect translation encoding

On 21/01/2010 03:05 ص, mac9416 wrote:
> Thanks for the bug report.
>
> First of all, I have to admit that none of the development team knows very much about translations, so bear with us.
> When I bundled translations with 0.92.3 I downloaded them all as .mo files. If I understand correctly, that means they are compiled and the character encoding cannot be changed. Perhaps I should have used .po files?
>
> Test this for me: download the Arabic translation and replace the locale/ar files in the Keryx directory with those files. I would suggest trying both .mo and .po files.
> you can download the Arabic translation files here: https://translations.edge.launchpad.net/keryx/stable/+pots/keryx/ar/+export
>
> Let me know if any of that helps.
>
>
First of All, sorry for delay >:o

After downloading .po file and compiling it to .mo, I got same error.
For that I think this problem related directly to Keryx GUI (wxWidget).

Do you've any suggestions ?

--
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net

Revision history for this message
mac9416 (mac9416) wrote :

No problem.

I am afraid I have no further suggestions at the moment. Strangely, the Arabic translation works fine on my system when I run 'LANGUAGE=ar python keryx.py'. Maybe you should try running Keryx with "LANGUAGE=ar" at the beginning? It's worth a shot.

Take a look at the attached screenshot to see what it looks like on my system.

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote :

On 30/01/2010 02:56 ص, mac9416 wrote:
> No problem.
>
> I am afraid I have no further suggestions at the moment. Strangely, the
> Arabic translation works fine on my system when I run 'LANGUAGE=ar
> python keryx.py'. Maybe you should try running Keryx with "LANGUAGE=ar"
> at the beginning? It's worth a shot.
>
> Take a look at the attached screenshot to see what it looks like on my
> system.
>
> ** Attachment added: "Screenshot of Keryx running with the Arabic translation"
> http://launchpadlibrarian.net/38542999/Keryx_ar.png
>
>
Yep, the screenshot above shows correct Arabic characters so I modified
LANGUAGE variable in my ubuntu then I got correct characters but in
Windows the problem still exist although I changed the LANG variable to
LANG=En

My suggestion for fixing this problem is putting combo box in Welcome
widget for choosing language interface instead of auto selection of
language.

PS

    * I modified the translation of Keryx since months ago but I noticed
      that you didn't use my modifications (the current translation is
      too bad).
    * In Windows, I tried to change language of the system by adding the
      following lines:

R:\PortableApps\keryx\win32>set LANG=En

R:\PortableApps\keryx\win32>keryx.exe

--
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net

Revision history for this message
mac9416 (mac9416) wrote :

> My suggestion for fixing this problem is putting combo box in Welcome
> widget for choosing language interface instead of auto selection of
> language.

That may be the best way. I will look into it.

> * I modified the translation of Keryx since months ago but I noticed
> that you didn't use my modifications (the current translation is
> too bad).

If your changes were made since August, they probably simply haven't been included yet. I will update the translations when we release 0.92.4 (soon).

> * In Windows, I tried to change language of the system by adding the
> following lines:
> R:\PortableApps\keryx\win32>set LANG=En
> R:\PortableApps\keryx\win32>keryx.exe

I found that using 'set LANG=ar' on a virtual machine running Windows XP made Keryx run using the Arabic translation, and it looked fine. Very strange.

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote :

On 30/01/2010 05:38 ص, mac9416 wrote:
> If your changes were made since August, they probably simply haven't
> been included yet. I will update the translations when we release 0.92.4
> (soon).
>
Before releasing the new version, I suggest to send e-mail to all
translators for updating their translations. Do you agree?

--
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net

Revision history for this message
mac9416 (mac9416) wrote :

Absolutely. We plan to have at least two weeks of testing, two weeks of beta, then release. And every two weeks I will be updating the translations. So I will send an email to the translators at the beginning of the four weeks. Will that give them enough time to do their magic?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.