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 Wed 27 Aug 2014, 15:27
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
BDX


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

PostPosted: Mon 15 Oct 2012, 19:54    Post subject:  

@L18L
Quote:
Never make changes in msgid
msgstr is where you put your translation in.


I did with Katoob, and it works. Except that the characters are reversed, not combined and from left-to-right, which is a problem in reading. Sad

Quote:
Please post the output of
echo $LANG

Code:
ar_YE.UTF-8

Nothing wrong i guess.....

Quote:
ROX-Filer can be translated using MoManager
Look into bottom of right side MoManager: Puppy files

Yep. I figure out yesterday because i was so tired of the scripts and gone to the others Laughing

Quote:
I have extracted Arabic from shinobar's langpack_all (thank you, shinobar)
and momanager has made first langpack from this and what we have done until now.

I liked the ar-Langpack cuz it made the Rox-Filer from right-to-left, i will start translating the ROX Smile (IT'S WAY LONG Shocked )
And i have corrected some grammatical and structure errors.

More will come.

_________________
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: Tue 16 Oct 2012, 04:32    Post subject: The beginning of Arabic translation
Subject description: menu enties
 

BDX wrote:
Hi again,

Quote:
name=Internet
name[ar]=whatever you type in here

and name[ar] will be used for Arabic

Did you try?

That's the first thing i tried.

For the menu categories and entries, they still the same. No matter what i did in anywhere.
But like i said, i'm 100% sure that it's a JWM problem. And here the prove:

Thanks for the picture.

Let us take just the example of abiword:
I see Program label=".............." is some letters longer than what is in the menu.

I would like to reproduce it on my system before thinking about it (or crying for help with Joe)
please post the line
Program label=".............." (arabic for abiword menu entry)

Thanks
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: Tue 16 Oct 2012, 04:38    Post subject: The beginning of Arabic translation
Subject description: ROX-Filer
 

BDX wrote:
.. i will start translating the ROX Smile (IT'S WAY LONG Shocked )
And i have corrected some grammatical and structure errors.
...

You will become an expert on rox Very Happy
Back to top
View user's profile Send private message 
BDX


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

PostPosted: Tue 16 Oct 2012, 17:37    Post subject:  

Hi,

Here's the line:

Program label [ar]=معالج الكتابة آبي وورد
......
I searched for any other window mangers for wary but with no result, I am pretty sure that fbpanel or lxpanel will solve it because in lucid the day name in the clock is written right. I will try to modify menu entries in lucid to see.

Quote:
You will become an expert on rox

Hope i will Smile

M.H.

_________________
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: 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   837 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  531 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  604 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: 3259
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 
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.0980s ][ Queries: 13 (0.0058s) ][ GZIP on ]