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 Sat 25 Oct 2014, 08:00
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Localizing scripts
Moderators: Lobster, MU, raffy
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 8 of 9 Posts_count   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9 Next
Author Message
magerlab

Joined: 08 Jul 2007
Posts: 731

PostPosted: Sun 29 Mar 2009, 03:10    Post_subject:  

i expected that loclized menus would be in final release....
please tell whodo to include them in bugfix

i'll also try to add some russian mo. files for scripts and also will make an archive with mo. files for as many apps as i can find(actually i do have many already)

_________________
skype: desafimager
Back to top
View user's profile Send_private_message 
apendragon

Joined: 15 Jan 2007
Posts: 56

PostPosted: Fri 01 May 2009, 23:01    Post_subject:  

I send files Xwin localized in English and Spanish. I fixed the problems.
xwin.tar.gz
Description 
gz

 Download 
Filename  xwin.tar.gz 
Filesize  8.54 KB 
Downloaded  540 Time(s) 
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Thu 07 May 2009, 21:33    Post_subject:  

droope/anyone

I posted to Irihapeti in the 41 language thread

http://www.murga-linux.com/puppy/viewtopic.php?t=27967&start=540

This is her reply

Irihapeti wrote:
I had a quick look at that, Aitch, but it's rather over my head. I'm not a developer; I only compile other people's programs.

One thing I believe still needs attention: that ordinary, unlocalised Puppy be able to display non-Latin characters in dialogue boxes and window title bars. (Assuming, of course, that the necessary fonts have been installed.) I have an idea that it has to do with the "C locale" - some programs can't use the locale files and use the default, and the default is not compiled to handle non-Latin characters. At least, that's what I think it is; a developer would be able to clarify that.

Irihapeti


Why is puppy still short of fonts, & IS it compiled without non-latin character handling?

If so, it may explain some people's frustration with Puppy at boot up?

Is this one for BarryK, since he's changed the boot up to include keyboard/locale, I believe?

Perhaps you could see if WhoDo is aware of that?

And if anything can/should be done?

Thanks

Aitch Smile
Back to top
View user's profile Send_private_message 
droope


Joined: 31 Jul 2008
Posts: 814
Location: Uruguay, Mercedes

PostPosted: Tue 12 May 2009, 09:16    Post_subject:  

Hi aitch,

I am unaware of that issue Confused I really don't know. I think it might have something to do with what The Hamsters was attempting to do, something related with utf-8, and being able to imput greek characters into Dialogs and console windows.

(Not sure tho, and I think the issue needs to be solved, but is not really a big big deal, i think. Maybe for Chinese people, who need their titles in chinese, for example.)

But I think this has been attempted, don't know where though.

Cheers!
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 12 May 2009, 11:40    Post_subject:  

how to use arab, chinese etc. in messageboxes using "gxmessage" instead of "xmessage":
http://murga-linux.com/puppy/viewtopic.php?t=25319

Replacing "yaf-splash":
http://www.murga-linux.com/puppy/viewtopic.php?t=25536

Mark

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
droope


Joined: 31 Jul 2008
Posts: 814
Location: Uruguay, Mercedes

PostPosted: Thu 14 May 2009, 21:01    Post_subject:  

Should this be done in default Puppy version? I think it would be a good idea to wait untill Puppy 4.2.x is totally bug-free and then grab it, and add all localizations, plus this.

Anyone up to it? I could make a pet of all english tar.gz s here. Someday. I think that'd be step 1. I would love to be able to do a script that would download only files that are attached in phpBB forums, and nothing else.

Wait, I can!! Very Happy

I think i will.
Back to top
View user's profile Send_private_message 
magerlab

Joined: 08 Jul 2007
Posts: 731

PostPosted: Sun 17 May 2009, 05:25    Post_subject:  

i say again that it all MUST be in default puppy
i'll do what i can to provide russian locale files

_________________
skype: desafimager
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Mon 01 Jun 2009, 10:10    Post_subject:  

hi droope

we are having an effect - keep pushing! Very Happy

raffy wrote:
It's back to simple website for now, at least until the difficult recurring error at the site is solved. It will take some time.

Darreljon is making available a wikibook:
http://murga-linux.com/puppy/viewtopic.php?t=42755
It must be good to have the translations there, too.


so here it is....http://en.wikibooks.org/wiki/Puppy_Linux

Spread the word

puppyluvr wrote:
Puppies for You..,Puppies for Me...
Puppy is fun and Puppy is free...
Puppies from Ubuntu / Slackware / Debian too.
Puppy`s for Everyone...Puppy`s for You....

Puppy Linux..
Resistance is Futile......

I love this...... Very Happy


me too, Jay

Aitch Smile
Back to top
View user's profile Send_private_message 
droope


Joined: 31 Jul 2008
Posts: 814
Location: Uruguay, Mercedes

PostPosted: Wed 03 Jun 2009, 12:11    Post_subject:  

Do you reckon it'd be really necesary? Where would that book be? (besides that page, i mean)
Back to top
View user's profile Send_private_message 
esmourguit


Joined: 17 Nov 2006
Posts: 1288
Location: Sur l'ile aux oiseaux.

PostPosted: Sun 19 Jul 2009, 14:15    Post_subject:  

Bonjour à tous,
I resume this post.
Here is an updated localized xorgwizard script from last Puppy 4.17.
To test in Puppy 4.16 or 4.17
If (when it'll be OK after tests) Barry Kauler could introduce it in future alpha and beta releases, it would be a great help for translators.
Cordialement Wink
xorgwizard417-loc.pet
Description  Edited today july 20
pet

 Download 
Filename  xorgwizard417-loc.pet 
Filesize  23.23 KB 
Downloaded  492 Time(s) 

_________________
Toutou Linux - Pets francisés

Edited_time_total
Back to top
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sun 19 Jul 2009, 18:23    Post_subject: Three comments  

deleted
Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sun 19 Jul 2009, 18:25    Post_subject: Re: Three comments  

good job, esmourguit.

i put 3 comments
  1. note that Barry add some code to 416.
    #w482 allow switch between intel_drv.so and i810OLD_drv.so.

  2. any of localisation on X failes because of the bug in /usr/bin/xwin.
    see http://www.murga-linux.com/puppy/viewtopic.php?p=325229#325229

  3. the localization scripts by MU can be improbed.
    next code distinguishes zh_CN and zh_TW for example.
    assumed default messages at ./C/*/*.mo instead of ./en/*/*.mo.
    Code:
    # set locale
    for LOCALE in C $(echo $LANGUAGE|cut -d':' -f1) $LC_ALL $LANG;do :;done   # ex.    ja_JP.UTF-8
    # search locale file
    LOCALE1=$(echo $LOCALE|cut -d'.' -f1)      # ex.   ja_JP
    LOCALE2=$(echo $LOCALE|cut -d'_' -f1)   # ex.   ja
    LOCALEDIR=/usr/share/locale
    LOCALEFILE=$(basename $0).mo
    for D in C $LOCALE2 $LOCALE1 $LOCALE
    do
       F="$LOCALEDIR/$D/LC_MESSAGES/$LOCALEFILE"
       [ -f "$F" ] && . "$F"
    done

Back to top
View user's profile Send_private_message Visit_website 
esmourguit


Joined: 17 Nov 2006
Posts: 1288
Location: Sur l'ile aux oiseaux.

PostPosted: Mon 20 Jul 2009, 10:52    Post_subject:  

Bonjour à tous,
Many thanks shinobar for your help.
Post above new xorgwizard localized file. But without modifs from shinobar. I don't know where insert the modified script.
And here xwin localized file with modif from shinobar, line 517 newly 508 in localized file.
Hope it'll be ok.
Thank you for yours tests.
Cordialement Wink
xwin417-loc.pet
Description 
pet

 Download 
Filename  xwin417-loc.pet 
Filesize  9.5 KB 
Downloaded  495 Time(s) 

_________________
Toutou Linux - Pets francisés
Back to top
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 20 Jul 2009, 23:48    Post_subject: xwin  

esmourguit wrote:
And here xwin localized file with modif from shinobar, line 517 newly 508 in localized file.


tnx esmourguit.
but it seems wrong directory, missing /usr.
the last quotation mark was missing at line 68 in the mo files.

anyway, i think the default 'mo' shall be written in the script itself so that it can run by the single file, /usr/bin/xwin alone. it is more safe.

and i add my code searching the 'mo' file:
Code:
#-- simple localization for scripts by Shinobar based on MU.
mo=xwin.mo
# set locale
for lng in C $(echo $LANGUAGE|cut -d':' -f1) $LC_ALL $LANG;do :;done   # ex.    ja_JP.UTF-8
# search locale file
lng1=$(echo $lng|cut -d'.' -f1)      # ex.   ja_JP
lng2=$(echo $lng|cut -d'_' -f1)   # ex.   ja
LOCALEDIR=/usr/share/locale
[ "$mo" ] || mo=$(basename $0).mo
for D in C en $lng2 $lng1 $lng
do
   F="$LOCALEDIR/$D/LC_MESSAGES/$mo"
   [ -f "$F" ] && . "$F"
done

hope my pet attached works.
xwin417-loc1.pet
Description 
pet

 Download 
Filename  xwin417-loc1.pet 
Filesize  9.64 KB 
Downloaded  613 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
esmourguit


Joined: 17 Nov 2006
Posts: 1288
Location: Sur l'ile aux oiseaux.

PostPosted: Tue 21 Jul 2009, 02:57    Post_subject:  

Bonjour à tous,
@ shinobar,
You're great.
I Tested your xwin file and all works perfectly. I have tried also without the french locale file and all went ok.
And what about the xorgwizard localized file?
I hope Barry will include it in next release.
Cordialement Wink

_________________
Toutou Linux - Pets francisés
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 8 of 9 Posts_count   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0969s ][ Queries: 13 (0.0146s) ][ GZIP on ]