Please help me with the hebrew translation!!!!!!

Discuss and coordinate development of mainline and user-made content translations.

Moderators: Forum Moderators, Developers

niranbd
Posts: 20
Joined: December 9th, 2005, 1:18 pm

Please help me with the hebrew translation!!!!!!

Post by niranbd »

im trying for about 2 hours now to make the hebrew translation into the game... i convert it to .MO file and now it loads the game with hebrew but it look like this:

Image

i mean, it's not hebrew lol... i dont know how to make it work with HEBREW font!

i put the hebrew "shalomf.TTF" into the C:\Program Files\Wesnoth\fonts folder and i edit the .po file to look like this:
Image

but it still not working... can some1 guide me step by step how to use a NON-ENGLISH font in-game? i can finish the hebrew files with some friends in 1-2 weeks, so it will be great if the "font problem" will be solved soon....
User avatar
ivanovic
Lord of Translations
Posts: 1147
Joined: September 28th, 2004, 10:10 pm
Location: Germany

Post by ivanovic »

One thing before I can help you at all is that I need to know which Version of the game you did use. Hebrew will NOT work in 1.0.x, the stable line. There is no support for RTL languages and this stuff.
You do have to use 1.1-svn, the current unstable development version. When compiling you need to enable the fribidi support.
I did just try to start the game in the development version in hebrew and it did work perfectly on my mac. At least there is no problem with the font. Though I did not activate Fribidi so the writing direction will probably be wrong.
To have the support for Hebrew in trunk you do NOT need a special font, only Fribidi support compiled into the game. If you do not have this the direction of the text will be wrong. (cf attached screenshot)
Attachments
hebrew.PNG
hebrew.PNG (94.55 KiB) Viewed 4832 times
niranbd
Posts: 20
Joined: December 9th, 2005, 1:18 pm

Post by niranbd »

the writing direction on the image is wrong... anyway-im using this version to translat:
http://prdownloads.sourceforge.net/wesn ... z?download

but i'm not a programmer or something so i dont know what are you talking about :P

i saw on the guide that japanes version has a speciel font, so i did the same with hebrew, but it dosent worked for me
User avatar
ivanovic
Lord of Translations
Posts: 1147
Joined: September 28th, 2004, 10:10 pm
Location: Germany

Post by ivanovic »

Like I already said: You will need 1.1-svn. It will NOT work with the recent releases. Hebrew is NOT supported in the 1.0.x tree (1.0.2 is a part of that). Please have a look at http://www.wesnoth.org/wiki/WesnothSVN for some infos about how to get the svn version. You will need that and do have to translate these po files, not the ones from 1.0.2. There are already differences between the files.
There is no need to replace the font since the fonts shipped with Wesnoth do support Hebrew. You only need the svn version. I did send the hebrew maintainer a mail. Eventually he is able to help you a bit further.
niranbd
Posts: 20
Joined: December 9th, 2005, 1:18 pm

Post by niranbd »

i tried to use that version:
http://svn.gna.org/svn/wesnoth/trunk/po/wesnoth/

and that one:
http://svn.gna.org/svn/wesnoth/branches/1.0/po/wesnoth/

in the both of them i cant see hebrew...

tell me, he is still working on the hebrew translation? because on the link you gave me it says that he has start working on it a half year ago, and half year is wayyyyyyyyyyyyyyy to much time to finish it Oo
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

niranbd wrote:i tried to use that version:
http://svn.gna.org/svn/wesnoth/trunk/po/wesnoth/

and that one:
http://svn.gna.org/svn/wesnoth/branches/1.0/po/wesnoth/

in the both of them i cant see hebrew...
The trunk/po version is the correct one but that's only the text data. The executable of Wesnoth you're using is not capable of displaying the translation. In fact there is no official release yet which can do this, that's why you need to compile a development version yourself so far.
niranbd wrote: tell me, he is still working on the hebrew translation? because on the link you gave me it says that he has start working on it a half year ago, and half year is wayyyyyyyyyyyyyyy to much time to finish it Oo
There are two persons working on the translation but since both do this in their spare time and they've got to solve lots of problems with right to left text direction they're not finished and will probably require more time and help. Look at http://gettext.wesnoth.org to see how much is already translated and commited. Or write a mail to Oron and ask him about more details.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp

Translators for all languages required: contact me. No geek skills required!
User avatar
ivanovic
Lord of Translations
Posts: 1147
Joined: September 28th, 2004, 10:10 pm
Location: Germany

Post by ivanovic »

From the complete 1.0 branch the hebrew support has been removed. These files are not there anymore since it would not have worked at all. Hebrew support is ONLY working in trunk. But you have to compile this yourself. That is where I took the screenshot from. And the writing direction is correct if you have fribidi installed when wesnoth is configured/compiled.
So to use Hebrew you do HAVE TO use trunk. It is NOT a font issue that it does not work in 1.0.2. In there it is generally not supported.
niranbd
Posts: 20
Joined: December 9th, 2005, 1:18 pm

Post by niranbd »

so if i will make the hebrew file for the trunk version you will be able to add it to the full game or i'm wasting my time?....
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

All hebrew translations will appear in development releases. 1.1.1 willl be the first one and probably come out around christmas (no gurantee). Of course there will be 1.1.2/3... afterwards. So your translation will not appear in 1.0.2/3/4 but you're absolutely not wasting your time translating. It'll appear in all new version on the road towards Wesnoth 2.0, just not in the stable 1.0 branch.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp

Translators for all languages required: contact me. No geek skills required!
niranbd
Posts: 20
Joined: December 9th, 2005, 1:18 pm

Post by niranbd »

where can i find the full 1.1 version in .rar file, and also-how excactly can i make it to .exe file under windows, im not a coder or a programmer so i have no idea how to work with the game files...
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

There's no .rar archive of the trunk AFAIK and to compile a snapshot for Windows, you'd probably best ask a coder. It's not exactly easy to do this if you don't know much about programming and computers in general.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp

Translators for all languages required: contact me. No geek skills required!
niranbd
Posts: 20
Joined: December 9th, 2005, 1:18 pm

Post by niranbd »

torangan wrote:There's no .rar archive of the trunk AFAIK and to compile a snapshot for Windows, you'd probably best ask a coder. It's not exactly easy to do this if you don't know much about programming and computers in general.
lol why did you bumped it? i have contact oron and i made a team with 4 more israelis and im trying to translat with everyone... right now its a chaos, but i will see what can i do :P
User avatar
ivanovic
Lord of Translations
Posts: 1147
Joined: September 28th, 2004, 10:10 pm
Location: Germany

Post by ivanovic »

The reason is easy: it won't work anyway!
But you can send in the files you currently have and I can try to merge them with the ones in trunk. Afterwards just use the files from trunk and everything is fine. This way (almost) no work will be lost.
niranbd
Posts: 20
Joined: December 9th, 2005, 1:18 pm

Post by niranbd »

ivanovic wrote:The reason is easy: it won't work anyway!
But you can send in the files you currently have and I can try to merge them with the ones in trunk. Afterwards just use the files from trunk and everything is fine. This way (almost) no work will be lost.
i am using the files from trunk.... right now me and one guy are transaling one of the scenarios, it will be ready for tommrow i think... i have translat 200 lines in one day...
User avatar
Viliam
Translator
Posts: 1341
Joined: January 30th, 2004, 11:07 am
Location: Bratislava, Slovakia
Contact:

Post by Viliam »

I do not use any "right-to-left" language, but from what I have heard, I think there are more changes necessary than only changing the direction where font is written. The whole screen should be horizontally swapped, that is:

In the main screen, the menu buttons should be at the left part of the screen, and the "tip of the day" on the right part (with the "more" button in its left corner). The shadow on the buttons should be flipped. The logo should go to the left.

In the game, minimap and status should be in the left part of screen, menu button in the top right, etc. Basicly a mirror image should be made of everything.

(Please correct me if I am wrong, but AFAIK this is part of the typical "localization" to RTL languages.)
Post Reply