hi.

thanks alot for your hard work. I just want to comment on the last head version. I had a site running 5.1 with strings translated manually. I only translated what I needed using drupal's locale interface. it was working fine, until I saw the 5.1 dev release and imported it.

Now wherever the string %count would appear it would be left as is: %count

I opened this file in poedit and change the plural under settings/ project info, to this: nplurals=2; plural=(n !=1); X-Generator: KBabel 1.11.1 exactly as was the case with 4.7 bt that didn't work too.

now the string would be translated to nul, 0 wherever it appears.

this is so wierd and I can't solve it on my own so far.

my website's url is:
www.nattiq.com

Comments

alaa’s picture

yes what is in HEAD at the moment is just the result of merging 4.7 po files with 5 pot files (automatically generated). it's not in any usable state at the moment.

I guess we should prioritize fixing these though so we can get a sense of how much work needs to be done

mohammed76’s picture

hi again.

yes, I do agree with you. what do you think must be our next step? I am willing to help in this.

any thoughts on how to solve the problem mentioned above temporary? as I tried it on a live site.

thanks alot.

alaa’s picture

Status: Active » Fixed

I've updated the translation fixing most %count like variables.

but really the current translation is unusable it's only there for people who will work on fixing it not for use on live sites.

I recommend you delete your arabic locale and start from scratch. you can try using the 4.7 translations as a temporary measure.

mohammed76’s picture

Status: Fixed » Active

hi.

Alaa, sorry, the head version still doesn't fix this, so I went ahead and reset the status of this issue to "active".

gharbeia’s picture

I am working on this and other issues at the moment. It seems like we will have a slightly better core HEAD by the end of the week: functional, but not proofed.

gharbeia’s picture

I am working on this and other issues at the moment. It seems like we will have a slightly better core HEAD by the end of the week: functional, but not proofed.

mohammed76’s picture

hi.

yes, the head version is really very good. it works so well.

what I can't find out, before marking this issue as closed once again is: how do I make the numbers appear like arabic numbers? see what I have currently for example:
منذ 5 من الأيام 12 من الساعات

thanks alot.

adam_b’s picture

Title: the translation of %count in several places is messed up » how do I make the numbers appear like arabic numbers?

I'm not sure you can enforce this without specifying the numbers in code (eg &#1234). If you use regular numbers, I think that the workstation on which you're viewing them will decide whether to use indic or arabic numbers. [But I'm no expert, so feel free to prove me wrong.]

testerx’s picture

Title: how do I make the numbers appear like arabic numbers? » Use 4.x.x instead of 5.x Arabic Translation PO for Drupal 5.x ????
Category: bug » support

@ alaa

I recommend you delete your arabic locale and start from scratch. you can try using the 4.7 translations as a temporary measure.
http://drupal.org/node/121529#comment-203045

=====

Is it okay really ?? can we use Arabic Translation 4.x... for Drupal Version 5.x ??

Please clarify.

alaa’s picture

there is no need for that anymore, the 5.x po files are in useable shape now

alaa’s picture

Status: Active » Closed (fixed)