Languages

 
 
Picture of denis cahalane
Left right, left right
 
It's none of my business since I don't speak the languages concerned, but there seems to be an inconsistency in the languages that work from the right (it's Friday afternoon here). If you switch languages to Hebrew, it switches everything to start from the right, as you would expect - but reverses all user-contributed text as well - gnitirw-rorrim. This seems undesirable - if the stuff was in Hebrew you would have typed it correctly in the first place.

Switching to Arabic doesn't produce this effect. 
 
Average of ratings: -
Picture of dovix :)
Re: Left right, left right
 
What a coincidence!, I do speak Hebrew and I played a bit with the demo for the first time today. The first weird thing I noticed is that all English text is reversed when changing the language to Hebrew.

The weird part, is that Hebrew text is not reversed (it shows the way it should). I assume the bug lies in the algorithm that reverses the text - it probably shouldn't reverse English characters.

So what I'd expect is:

- The components on the screen are mirrored from right to left (as it does now)
- Hebrew text should show from right to left (as it does now)
- English text should not be mirrored (broken)

I'll check later if there's a bug report on that and if not I'll open one.
 
Average of ratings: -
Martin in black and white
Re: Left right, left right
Group DevelopersGroup Documentation writersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers
The browser is doing a lot of this ... I don't know too much about it but I think to do it properly every phrase needs language or direction tags around it - something like that.
 
Average of ratings: -
Picture of dovix :)
Re: Left right, left right
 
Found the problem!!! it's a simple matter of page encoding.

I tried this with Mozilla Firefox:

- go to the Moodle homepage (http://moodle.org/)
- change the language to Hebrew (he)
- English will show reversed. Now change the browser's encoding from  Hebrew Visual (ISO-8859-8) to Hebrew Logical (ISO-8859-8-I)
- English will now show correctly

I noticed the page source provides the wrong locale guideline to the browser after switching to hebrew (charset=iso-8859-8). Changing that to the right one might solve the problem (no idea how to do that, It's my first day with Moodle;)
 
Average of ratings: -
Picture of koen roggemans
Re: Left right, left right
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Translators
Fixed in CVS. Download the new HE lang pack from moodle.org/download/lang after the date of the langpack has changed to 9 october.

Thanks for sorting this out!
 
Average of ratings: -
Picture of dovix :)
Re: Left right, left right
 
Thanks for such a quick & prompt resolution! smile




I'm going to try that as soon as I get my own installation sorted.


 
Average of ratings: -
Picture of dovix :)
Re: Left right, left right
 
I did a test with the latest daily build, and it works. Thanks!

However, there's still one minor issue I encountered during installation.

I selected Hebrew as the installation language, but the page encoding remained the westerm (ISO-8859-1) one.

I changed this manually and had no subsequent encoding issues throughout the install.

However, this is a lower priority issue.
 
Average of ratings: -
Picture of dovix :)
Re: Left right, left right
 
Just in case somebody would like to try this out, note there is a small issue after changing the encoding to Hebrew that causes some of the parameters (e.g. $a->user) not to work.

This is a problem on the translation files. I fixed as many of those as I could find and I am trying to contact the previous translator to merge-in the changes.

With this changes, Moodle displays Hebrew interface wonderfully.

For more details, and updated translations to play with, please refer to: http://moodle.org/mod/forum/discuss.php?d=8876
 
Average of ratings: -
Picture of koen roggemans
Re: Left right, left right
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Translators
Changes are in CVS now -> few hours delay for anonymous, 9 GMT for langpack
 
Average of ratings: -