Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 29 Jul 2014, 10:51
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
The beginning of Arabic translation
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [36 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Wed 17 Oct 2012, 05:02    Post subject: The beginning of Arabic translation
Subject description: menu entries
 

BDX wrote:
...
Program label [ar]=معالج الكتابة آبي وورد
......


That's how I did it

edit /root/.jwmrc
No: Arabic it is jwmrc.

example: Abiword

change
<Program label="Abiword word processor" icon="abiword_16.xpm">abiword</Program>
to
Code:
<Program label="Abiword معالج الكتابة آبي وورد                   " icon="abiword_16.xpm">abiword</Program>


Menu > Shutdown >Restart JMW

Note, I have found that there must be at least 19 spaces after the arabic, if less than that then some letters are cut off

Next steps:
I will do it using momanager
report to PuppyMaster

----
edited
I have reproduced this in momanager
with less than 19 spaces the Arabic phrase is not completely shown

------------------------------------------------------------------------------
@BarryK,
please let momanager append 19 spaces to menu entries with right-to-left languages.
I think the same has to apply with menu categories

Or is there a hint in fribidi doc
http://www.unicode.org/reports/tr9/ Question
Most of this was Greek to me .
------------------------------------------------------------------------------

edited

I have downloaded latest jwm-2.1.0
./configure --prefix=/usr

# jwm --version
JWM v2.1.0 by Joe Wingbermuehle
compiled options: confirm fribidi icons png shape xft xinerama xpm xrender
system configuration: /usr/etc/system.jwmrc
usage: jwm [ options ]
#

There is no change in behavior.

-------------
same with
# jwm --version
JWM vsvn-581 by Joe Wingbermuehle
compiled options: confirm fribidi icons png shape xft xinerama xpm xrender
system configuration: /usr/etc/system.jwmrc
usage: jwm [ options ]
#

Instead of 19 spaces you can use
Code:
DASwarsWIEDEReinmal

or
Code:
Back-To-LEFTtoRIGHT

Laughing

------------------------------------------------------------------------------
@BDX,
reported to Joe's Window Manager: Bugs Exclamation
------------------------------------------------------------------------------
menu_entry_arabic.png
 Description   
 Filesize   17.74 KB
 Viewed   830 Time(s)

menu_entry_arabic.png

Back to top
View user's profile Send private message 
BDX


Joined: 18 Jan 2012
Posts: 53
Location: Yemen,Aden

PostPosted: Wed 17 Oct 2012, 18:11    Post subject:  

Helllo,

Thank you L18L for your try, i think i will make the 19 spaces after it but i have noticed that the trick is not going to work without at least one English character. So i will make the Arabic name and an English with it.
The menu will become too wide but that's OK. I can live with it. Very Happy
capture20067.png
Description  WIDE, but nice
png

 Download 
Filename  capture20067.png 
Filesize  447.64 KB 
Downloaded  520 Time(s) 

_________________
Puppy linux fact:Life is experiments......Download and try,Don't search and cry.
Back to top
View user's profile Send private message MSN Messenger 
BDX


Joined: 18 Jan 2012
Posts: 53
Location: Yemen,Aden

PostPosted: Thu 18 Oct 2012, 01:01    Post subject:  

Also got that if there was so many Arabic characters (Maybe more than 20 or 23 character) the sentence will cut off.
_________________
Puppy linux fact:Life is experiments......Download and try,Don't search and cry.
Back to top
View user's profile Send private message MSN Messenger 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Thu 18 Oct 2012, 08:06    Post subject: jwm
Subject description: use jwm-tools for translation of menu
 

Thanks for trying and not crying Laughing

May be you try also jwm-tools
http://www.murga-linux.com/puppy/viewtopic.php?t=70804&start=123

Start it
Menu > Desktop > JWM Configuration

Included Arabic is a copy of German and
"Abiword معالج الكتابة آبي وورد " only for now.

Just edit /usr/share/locales/ar/names

It is much faster than using momanager.

Yes, we will have to live with the 19 spaces
I have no hope that Joe will have get it done soon as his last activity on bug fixing was January 2012 Confused
Back to top
View user's profile Send private message 
BDX


Joined: 18 Jan 2012
Posts: 53
Location: Yemen,Aden

PostPosted: Mon 22 Oct 2012, 11:58    Post subject:  

Hi again,

I have completed the translation of the Menu categories and entries. All looks good, until i have downloaded the fbpanel, openbox and obconfig from the quirky repo, THEY WORKS (till now). All Arabic characters are perfect, full form, no missing ones, and most important, no need for the 19 SPACES!!. Even the clock day and month are viewed nice, the JWM always kick out the day name (الإثنين=Monday) and the first character in the month name (أكت=Oct) they viewed as 'Day: ,Month:كت'.

It is better but not built in puppy. So when i finish translating the Lang pack i will make one for non-jwm.
yep.png
Description  Better, and cooler than ever.
png

 Download 
Filename  yep.png 
Filesize  342.28 KB 
Downloaded  593 Time(s) 

_________________
Puppy linux fact:Life is experiments......Download and try,Don't search and cry.
Back to top
View user's profile Send private message MSN Messenger 
jy4ne

Joined: 25 Oct 2012
Posts: 3

PostPosted: Thu 25 Oct 2012, 02:06    Post subject:  

Hello BDX;
Please see this:
http://murga-linux.com/puppy/viewtopic.php?p=660417#660417
It may make things easier for you.
I have translated pfind and network wizard in the past but that was before gettext and mo/po files were used. Frankly, I don't know how to use those new formats!!
Best wishes.
JY4NE
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Thu 01 Nov 2012, 07:22    Post subject: The beginning of Arabic translation
Subject description: momanager
 

Hi BDX,

glad to see you making progress. Very Happy
I have tuned momanager to become a bit faster,
see my comment at http://bkhome.org/blog2/?viewDetailed=00002 please

jy4ne wrote:
... that was before gettext and mo/po files were used. Frankly, I don't know how to use those new formats...

see file /usr/share/doc/HOWTO-internationalization.htm
Back to top
View user's profile Send private message 
bignono1


Joined: 17 May 2009
Posts: 362
Location: New ME

PostPosted: Thu 22 Nov 2012, 01:51    Post subject:  

أظن ان عدم اكتمال الادخالات بالعربية اذا لم يكن معها مقطع انجليزي انك لم تقم بالامر fixmenus بعد الانتهاء من تحرير القائمة
استخدم الامر واعد تشغيل مدير النوافذ
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Mon 26 Nov 2012, 13:00    Post subject: The beginning of Arabic translation
Subject description: ..continue using new technique
 

Hello,

there is a brand new technique for localization of web pages.

We have been thinking about arabic, too Cool
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Wed 01 May 2013, 05:49    Post subject: jwm: Joe's Window Manager
Subject description: 19 spaces problem solved by Joe
 

L18L wrote:
...Yes, we will have to live with the 19 spaces
I have no hope that Joe will have get it done soon as his last activity on bug fixing was January 2012 Confused

Sorry that I have been so pessimistic.
Joe has fixed that bug now
see http://www.murga-linux.com/puppy/viewtopic.php?t=83949&start=120 please.

JWM version 738 can write Arabic now
Just wait for the next jwm.pet

May Arabic translation continue. Wink
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3215
Location: Ontario

PostPosted: Wed 01 May 2013, 16:30    Post subject:  

Correct English is

Quote:
Let the Arabic translation commence!



The subjunctive is tricky in English. Wink

_______________________________________
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Thu 02 May 2013, 04:47    Post subject: Correct English
Subject description: don't forget semantics
 

don570 wrote:
Correct English is

Quote:
Let the Arabic translation commence!



The subjunctive is tricky in English. Wink

_______________________________________


Dear don570,

thank you for trying to teach correct Canadian English.

I have no idea what subjunctive is and I do not really want to know what it is.
You might promote the slogan Let the games commence if olympics will ever come to Canada.

Back to topic of Arabic langpack:
That has already commenced some time ago
My wish May Arabic translation continue is about continuation after the break caused by buggy jwm.

My regards
Back to top
View user's profile Send private message 
BDX


Joined: 18 Jan 2012
Posts: 53
Location: Yemen,Aden

PostPosted: Tue 07 May 2013, 08:41    Post subject:  

Hello,

Actually I got busy with my studies, and since I downloaded the precise puppy, installed it and it doesn't work quite right (sometimes it didn't load the Kernel).
I was a little disappointment of that thing and I lost hope in precise puppy.

I formatted my old XP to 7, and I don't want to use lin'n'win on 7 system.
But, I still on my Wary by a flash drive (I don't use it a lot).

I really want to say "Thanks"......After your posts I'm going to continue the translation. I'm getting back my hope in puppy, so I will.

Thanks

_________________
Puppy linux fact:Life is experiments......Download and try,Don't search and cry.
Back to top
View user's profile Send private message MSN Messenger 
AbdelAziz


Joined: 29 May 2013
Posts: 11
Location: Algeria

PostPosted: Thu 30 May 2013, 04:09    Post subject:  

السلام عليكم ورحمة الله
اين توقف يا اخي ؟ ربما اكمل الترجمة الى العربية...
Where did you stop ? i may continue
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3215
Location: Ontario

PostPosted: Sat 15 Jun 2013, 16:31    Post subject:  



I tried an Arabic translation of copy-fast
using yudit.

I noticed an odd bug. (underlined in red) Notice that the English
number is in front of Arabic phrase.

Here is the code that causes the bug....
$VERSION is an English number.

Code:
<window title=" '$(gettext 'Fast Copy')'    '$VERSION'" resizable="true" decorated="true">


___________________________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [36 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0922s ][ Queries: 12 (0.0067s) ][ GZIP on ]