Hebrew translation of ReactOS

Discuss translation of both ReactOS and the website here.

Moderators: Moderator Team, Web Team

peterooch
Posts: 25
Joined: Fri Oct 21, 2011 4:01 pm
Location: Be'er Sheva, Israel
Contact:

Hebrew translation of ReactOS

Post by peterooch »

Hi there.
(my english isn't perfect)
I have a great interest in reactos.
I want to contribute in the part of translating the OS to Hebrew.
I have a good vocabulary, and I know the terms of the menus and the UI.
I'm going to start on my own in a seperate source folder.
there is a text file in the ReactOS setup that commented out the hebrew selection.
you can tell me how the *.rc files/setup process work? (I seen the Wiki, the compile part I don't know)
to compile the binaries with hebrew translation and/or to install with the hebrew language.
I sent an email to the ros Hebrew team a long time ago, and there is no response.
I know HTML,CSS good, PHP,JS average, and C i started to learn on my own.
Thank you. (excuse me for all the "I"s)
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: Hebrew translation of ReactOS

Post by hbelusca »

Hi !

Starting from there: About Resource Files (Windows) (from MSDN), where resource files are explained, as well as with these articles Translation Introduction and RC File Standards and of course (the MOST important), after seeing how applications are translated in other languages (for instance, our Task Manager), you can try to start a Hebrew translation for some applications :)

Thanks !
hto
Developer
Posts: 2193
Joined: Sun Oct 01, 2006 3:43 pm

Post by hto »

peterooch wrote: the compile part I don't know
How to build ROS from now on.
peterooch
Posts: 25
Joined: Fri Oct 21, 2011 4:01 pm
Location: Be'er Sheva, Israel
Contact:

Post by peterooch »

Probably I didn't explained myself well, I meant if I will translate and add the he-IL.rc files to the lang folders and add reference in the rsrc.rc files,
I want to install reactos in a VM, after a custom compile (that I understand how to). to enable the hebrew language selection?
This commented out in the setup files.
https://www.dropbox.com/sh/xfrwezp4g0jk0vk/gxWDEfP3JM If you want to see some of my work.
vicmarcal
Test Team
Posts: 2733
Joined: Mon Jul 07, 2008 12:35 pm

Re: Hebrew translation of ReactOS

Post by vicmarcal »

To install in Hebrew you have just to select the Hebrew Language in the first screen of the setup.
That way the OS will install in Hebrew language.
peterooch
Posts: 25
Joined: Fri Oct 21, 2011 4:01 pm
Location: Be'er Sheva, Israel
Contact:

Re: Hebrew translation of ReactOS

Post by peterooch »

vicmarcal wrote:To install in Hebrew you have just to select the Hebrew Language in the first screen of the setup.
That way the OS will install in Hebrew language.
But the problem that there is no option, the option is commented out.
Now I traslating the usetup language files.
this line is in the txtsetup.sif

Code: Select all

;0000040D = "Hebrew"
Were is this file located in the repo? (I haveit fully updated in my rosbe folder).
Thank you.
hto
Developer
Posts: 2193
Joined: Sun Oct 01, 2006 3:43 pm

Post by hto »

Were is this file located in the repo?
In boot/bootdata
Now I traslating the usetup language files.
IIRC there is still no Hebrew VGA font in ReactOS. Do you know some bitmap font with 8x8 (actually, it should be be 7x7) Hebrew characters?

EDIT: 1) Keep all #include "..." directives in rsrc.rc files in the alphabetical order, please do not append the Hebrew section to the end of file. 2) Use UTF-8 encoding for .rc files (as in base/applications/mspaint/lang/he-IL.rc, instead of CP-1255, as in other he-IL.rc). The files in base/setup/usetup/lang directory use OEM encoding (i.e. CP-862 for Hebrew) 3) In cmake/localization.cmake, add -DLANGUAGE_HE_IL to that big list.
vicmarcal
Test Team
Posts: 2733
Joined: Mon Jul 07, 2008 12:35 pm

Re: Hebrew translation of ReactOS

Post by vicmarcal »

Hto as always so useful :) Thanks
hto
Developer
Posts: 2193
Joined: Sun Oct 01, 2006 3:43 pm

Post by hto »

peterooch wrote: (excuse me for all the "I"s)
That's indeed a problem with English language. :)
vicmarcal
Test Team
Posts: 2733
Joined: Mon Jul 07, 2008 12:35 pm

Re: Hebrew translation of ReactOS

Post by vicmarcal »

"I"nd"I""I"d . Now, I hope you will feel more comfortable :). Don't worry about your English level. Mine is worse.No doubts
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re:

Post by hbelusca »

hto wrote:
peterooch wrote: (excuse me for all the "I"s)
That's indeed a problem with English language. :)
No problem, we have a president who says "I, president, I will do..." ;)
peterooch
Posts: 25
Joined: Fri Oct 21, 2011 4:01 pm
Location: Be'er Sheva, Israel
Contact:

Re: Hebrew translation of ReactOS

Post by peterooch »

Hi!
Okay, I edited the txtsetup.sif in my working folder. ( the dropbox )
The statement in the cmake file is probably there already.
reverted the usetup files to normal ones to using English based setup.
Hebrew VGA font is in nowhere ( only Microsoft ones )
Encode all *.rc files to UTF-8?
There is visual rc file editor (to edit the dimensions of elements) that works?
If you want join the efforts drop me a line @
peterooch [at] gmail [dot] com
oswetto
Posts: 109
Joined: Mon Oct 26, 2009 10:43 pm

Re: Hebrew translation of ReactOS

Post by oswetto »

hto
Developer
Posts: 2193
Joined: Sun Oct 01, 2006 3:43 pm

Post by hto »

The statement in the cmake file is probably there already.
Right, I just have not noticed it.
Hebrew VGA font is in nowhere ( only Microsoft ones )
Then we ought to create it.
Encode all *.rc files to UTF-8?
Yes, please do.

Some notes:
1. base/setup/usetup/lang/he-IL.h must use CP-862 ("DOS") encoding, not CP-1255.
2. In base/setup/usetup/muilanguages.h you have two copies of #include "lang/he-IL.h".
3. In all rsrc.rc files, use 4 spaces instead of a tab character before #include "lang/he-IL.rc".
4. Some rsrc.rc files have two sections: one for old unconverted .rc files which use various CP-nnnn encodings, and other for new UTF-8 files, below #pragma code_page(65001). Use UTF-8 and put #include "lang/he-IL.rc" correctly. Done right in dll/cpl/access/rsrc.rc, wrong in dll/cpl/appwiz/rsrc.rc.
peterooch
Posts: 25
Joined: Fri Oct 21, 2011 4:01 pm
Location: Be'er Sheva, Israel
Contact:

Re: Hebrew translation of ReactOS

Post by peterooch »

OK allright,
I submitted a patch (issue) in
http://jira.reactos.org/browse/CORE-6904
and compiled the files, and we have results
[ external image ]
(on hebrew win8 install)
It's looking weird because Hebrew is written from the right side.
Needed RTL support if isn't in there.
I fixed the files and encoded all of them in UTF-8, and
in which encoding needs to be txtsetup.sif?
probably not in UTF-8... the bootcd refuses to work...
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests