bugWarmux - Bugs: bug #10347, problems in translation of right...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #10347: problems in translation of right to left languages

Submitted by:  Behdad Pournader <behdad>
Submitted on:  Sat Nov 17 18:40:15 2007  
Category: translationSeverity: 4 - Important
Priority: 5 - NormalStatus: Postponed
Assigned to: NoneOpen/Closed: Open
Release: 0.8b3

(Jump to the original submission Jump to the original submission)

Sat Dec 11 10:55:54 2010, comment #25:

FriBiDi 0.19.2 (ie v2) has proper support, and is the one shipped with Ubuntu from last April. Therefore we supposedly have users no able to benefit from it.

The question is now: could some (behdad?) validate this?

Kurosu <kurosu>
Project Administrator
Sun Apr 13 16:46:13 2008, comment #24:

Just to note that the last milestone is the availability of fribidi2 in distributions. I have worked a bit to support farsi (the font will be changed automatically now).

Because the Windows build of the game can use whatever software needed, it is working under this platform (screenshot sometimes later).

Currently, we have for farsi:
218 translated messages, 12 fuzzy translations, 20 untranslated messages.

Kurosu <kurosu>
Project Administrator
Tue Apr 1 15:10:43 2008, comment #23:

The next Ubuntu (Hardy Heron) version will include 0.10.9 which still can't display farsi correctly:

Same for debian (here, sid, which means next stable won't have it either):

This unfortunately means farsi support will probably be pushed back to 2009... :/

Kurosu <kurosu>
Project Administrator
Fri Jan 25 15:36:07 2008, comment #22:

The new generation of fribidi has been released. I propose that until one binary distribution (mandriva, debian, ubuntu, fedora, ...) officially releases a new version which has it (around June 2008 for Ubuntu AFAIK), this should be considered postponed.

Kurosu <kurosu>
Project Administrator
Fri Jan 18 19:00:57 2008, comment #21:

(dang, can't reply through mail :/)

> Hey! All You!
> > Its Done!
> Regards!
> Its Working!

All versions of fribidi that are available (in your distribution, under windows, ...) have the problem you showed. In essence, there is no normal system that doesn't produce it, so, no, it is not working.

> How can i translate future versions before release?

As sad as it is, until a fixed version of fribidi is available, I don't think we can just yet include farsi translation.

This is not my sole decision to make but:
- I vote against linking a static, experimental library from cvs
- including farsi translation in svn is ok, but there will be little benefit for end users, as it won't be displayed correctly
- maybe looking/asking on the fribidi mailing list would improve the situation

Note that hebrew is equally affected, and we should ask the translator to verify that the output is ok.

Kurosu <kurosu>
Project Administrator
Fri Jan 18 13:17:04 2008, comment #20:

Hey! All You!
Its Done!

Its Working!

How can i translate future versions before release?

Behdad Pournader <behdad>
Project Member
Fri Jan 18 00:49:30 2008, comment #19:

I think it's fribidi that's just broken for farsi. See how closer the attached image is to what Behdad is looking for.

This was made with a cvs version of fribidi2 which is an experimental branch...

(file #3624)

Kurosu <kurosu>
Project Administrator
Fri Jan 18 00:23:23 2008, comment #18:

From some posts, it seems fribidi may have some problems for such languages as yours:

I've just spent some time on it, to no avail. Any reference code I found yields the same erroneous display, even when forcing to arabian the type of language.

Interestingly enough, vi displays the text as bad as us, but gedit gets it right...

Kurosu <kurosu>
Project Administrator
Thu Jan 17 23:12:56 2008, comment #17:

Nevermind the translation of the language for now, I can confirm the rtl is not well supported.

Kurosu <kurosu>
Project Administrator
Thu Jan 17 22:56:01 2008, comment #16:

I have attached a corrected version (2 or 3 problems found). I'll test it and see if looks good, then try to include it.

In that regard, what would be the displayed text for your language, for instance in the language selection menu:
فارسی or پارسی ?

Thanks again for your translation! Current stats are:
231 translated messages, 2 fuzzy translations, 3 untranslated messages.

(file #3623)

Kurosu <kurosu>
Project Administrator
Thu Jan 17 10:30:27 2008, comment #15:

Hi, Sorry for the time that i cant post! I have some problems!
I attached fa.po & terafik.ttf (a Font that support both farsi & english)

(file #3618, file #3619)

Behdad Pournader <behdad>
Project Member
Tue Jan 8 20:19:17 2008, comment #14:

On several occasions we have requested to get access to your translation. We really need it, else we will probably never be able to determine what is wrong and correct it.

So, pretty please, could you attach the fa.po file you wrote? An example of a font to use would be useful too.

Kurosu <kurosu>
Project Administrator
Sun Dec 16 11:18:33 2007, comment #13:

I didnt test it! but when i saw the screenshot i knew that its not working well!

i edited the screenshot that Yanning attached!
& uploaded in my Comment!
in new screenshot, i write correct text in red color!
see the correct texts!

(file #3368)

Behdad Pournader <behdad>
Project Member
Fri Dec 14 18:06:38 2007, comment #12:

Yes ! It's done !

(file #3359)

Yannig <drayan>
Project Administrator
Wed Dec 12 09:30:11 2007, comment #11:

Thanks for your feedback !

Can you upload the fa.po or send it directly to me. I'll see what's wrong in our code and fix the problem (thanks for the screenshot).


Yannig <drayan>
Project Administrator
Fri Dec 7 18:03:02 2007, comment #10:

i get the svn that u said!
added the fa.po & config the ~/.wormux/config.xml & set the language=fa, then use a font that support both english & farsi.
then luanched it, but it was like before that you added fribidi!
nothing changed!
i took a screenshot!

the screenshot attached!
i write some notice in screenshot to show if it works well! what happens!

& maybe, i would do sth else, if i forgot sth, pliz tell me, & if i done all, so, why it doesnt work well?

pliz do sth!

(file #3312)

Behdad Pournader <behdad>
Project Member
Fri Dec 7 15:04:36 2007, comment #9:

Great ! And thanks for your work :)

Yannig <drayan>
Project Administrator
Fri Dec 7 12:32:55 2007, comment #8:

ok! so i will complete my translation. when new version released!
i will test it! now i work on my translations!


Behdad Pournader <behdad>
Project Member
Fri Dec 7 12:21:50 2007, comment #7:

Thanks for your answer :)

I'm sorry but actually you have no way to get a fribidi version until we roll out a new version but you can grab our trunk version using subversion :
svn co http://svn.gna.org/svn/wormux/trunk wormux

Then ./autogen.sh in trunk, ./configure --enable-fribidi and the classical make ; make install.


Yannig <drayan>
Project Administrator
Fri Dec 7 12:00:12 2007, comment #6:

Hi Yanning,
i Compile wormux 0.8 Beta3 on my fedora!
where can i download new "wormux with fribidi"?

Behdad Pournader <behdad>
Project Member
Tue Dec 4 18:54:59 2007, comment #5:

Hi Behdad,

Kurosu has commited the change in trunk. To enable fribidi in Wormux, use --enable-fribidi with configure :

cd trunk
./configure --enable-fribidi

Could you try it and give us feedback ?



Yannig <drayan>
Project Administrator
Tue Nov 27 23:09:33 2007, comment #4:

Btw, I tried to build fribidi under windows/mingw and could only success by forcing a static lib.

It was correctly detected, defined USE_FRIBIDI to 1 in src/config.h but... nothing use it? Should I apply the patch from task #5485 (patch #857) ?

I applied it but it seems fribidi has deactivated the functions you use...

Kurosu <kurosu>
Project Administrator
Sat Nov 24 12:23:00 2007, comment #3:

Also related to this task: https://gna.org/task/index.php?5485

Kurosu <kurosu>
Project Administrator
Sun Nov 18 18:11:38 2007, comment #2:


I just uploaded an old patch of mind which enable fribidi support in Wormux. You can retreive it at this location : https://gna.org/patch/index.php?857

Feel free to report if something is working or (as I expect) if it does nothing :)


Yannig (drayan)

Yannig <drayan>
Project Administrator
Sun Nov 18 13:58:15 2007, comment #1:

Are you sure to really use the font you have decided to use ?

You can change the font to use by (in an bash terminal):
export WORMUX_FONT_PATH=/path/to/my_preferred_font

Anyway, Wormux does not support currently right to left languages. A task as been open here : task #5485. However, it is not started for the moment...

I didn't know Fribidi before you mention it, it seems really interesting!

The following is a list of software which uses it:

Matthieu Fertré <gentildemon>
Project Administrator
Sat Nov 17 18:40:15 2007, original submission:

hi, i translated most of messages, i use the best font of persian (fa), but it show cube characters instead of persian charachters.
i know, for good translations of rtl languages like persian (fa), arabic (ar) & hebrew (he), wormux must use Fribidi!
i dont know how to add this, in the program!
pliz somebody show me the way, or added it into it by himself!
i registered wormux.ir too, to build a persian wormux community!
pliz do that, we can help wormux to be up!

Behdad Pournader (behdad@pournader.com)
pliz mail me!

Behdad Pournader <behdad>
Project Member


Attached Files
file #3624:  fribidi2.png added by kurosu (15kB - image/png)
file #3623:  fa.po added by kurosu (33kB - text/x-gettext-translation)
file #3618:  fa.po added by behdad (32kB - text/x-gettext-translation)
file #3619:  terafik.ttf added by behdad (83kB - application/x-font-ttf)
file #3368:  1.png added by behdad (18kB - image/png)
file #3359:  fribidi+wormux.png added by drayan (16kB - image/png)
file #3312:  Screenshot-Wormux 0.8svn2.png added by behdad (232kB - image/png - fribidi problem in persian(fa) wormux)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by kurosu (Posted a comment)
  • -unavailable- added by drayan (Posted a comment)
  • -unavailable- added by gentildemon (Posted a comment)
  • -unavailable- added by behdad (Submitted the item)

    Error: not logged in



    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Jan 25 15:36:07 2008kurosuStatusReady For Test=>Postponed
    Fri Jan 18 00:49:30 2008kurosuAttached File-=>Added fribidi2.png, #3624
    Thu Jan 17 22:56:01 2008kurosuAttached File-=>Added fa.po, #3623
    Thu Jan 17 10:30:27 2008behdadAttached File-=>Added fa.po, #3618
      Attached File-=>Added terafik.ttf, #3619
    Sun Dec 16 11:18:33 2007behdadAttached File-=>Added 1.png, #3368
    Fri Dec 14 18:06:38 2007drayanAttached File-=>Added fribidi+wormux.png, #3359
    Fri Dec 7 18:03:02 2007behdadAttached File-=>Added Screenshot-Wormux 0.8svn2.png, #3312
    Tue Dec 4 18:54:59 2007drayanStatusNone=>Ready For Test
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup