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 » Sat Jan 12, 2013 4:42 pm

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: 1139
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: Hebrew translation of ReactOS

Post by hbelusca » Sun Jan 13, 2013 1:18 pm

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 » Sun Jan 13, 2013 9:59 pm

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 » Mon Jan 14, 2013 11:09 am

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: 2732
Joined: Mon Jul 07, 2008 12:35 pm

Re: Hebrew translation of ReactOS

Post by vicmarcal » Mon Jan 14, 2013 11:31 am

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.
Image

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 » Mon Jan 14, 2013 12:45 pm

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 » Mon Jan 14, 2013 12:49 pm

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: 2732
Joined: Mon Jul 07, 2008 12:35 pm

Re: Hebrew translation of ReactOS

Post by vicmarcal » Mon Jan 14, 2013 5:06 pm

Hto as always so useful :) Thanks
Image

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

Post by hto » Mon Jan 14, 2013 5:46 pm

peterooch wrote: (excuse me for all the "I"s)
That's indeed a problem with English language. :)

vicmarcal
Test Team
Posts: 2732
Joined: Mon Jul 07, 2008 12:35 pm

Re: Hebrew translation of ReactOS

Post by vicmarcal » Mon Jan 14, 2013 6:32 pm

"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
Image

hbelusca
Developer
Posts: 1139
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re:

Post by hbelusca » Mon Jan 14, 2013 9:01 pm

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 » Tue Jan 15, 2013 9:46 pm

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 » Tue Jan 15, 2013 9:49 pm


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

Post by hto » Wed Jan 16, 2013 12:20 am

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 » Wed Jan 16, 2013 11:02 am

OK allright,
I submitted a patch (issue) in
http://jira.reactos.org/browse/CORE-6904
and compiled the files, and we have results
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 11 guests