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 Mon 20 Oct 2014, 05:52
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to convert Precise, Slacko or Raring to Chinese
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
don570


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Sat 29 Jun 2013, 13:24    Post subject:  How to convert Precise, Slacko or Raring to Chinese  

Available software...

Right-click-6.6.5.pet 600k

icake-zh CN-modified-7.0.4b.pet 23.79 MB



Working with forum member icake I have come up with this
procedure to quickly convert Precise, Slacko or Raring Puppy linux
to Chinese. There still needs to be some translating done, but this will
be done over the next week. So far only zh_CN , but Taiwanese and
Hong Kong versions will be available too in future!

Tested on :
Slacko 5.5
precise 5.6.1
EDIT: now works with Raring

Here's a useful table of versions that icake has been testing...


Installation procedure:

1) After first setting up your Puppy (for instance Slacko 5.5)
the first step is to install icake-zh CN-modified-7.0.4.pet with a simple
click. There will be a message screen that will tell you to restart
X Windows. Do this. (very important!!)

2) This will now set the language to zh_CN. You can now run the
next pet package Right-click-6.6.4.pet . (see image) Choose OK
if you want the Chinese translations in the menu. Choose NO if
you want out of installation procedure.

WARNING! If your language was set differently (for instance German),
then the German right click menus would be installed!!




You don't have to restart X windows, because the effect is immediate
(see image in next post.)

_________________________________

Last edited by don570 on Thu 04 Jul 2013, 13:06; edited 10 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Sat 29 Jun 2013, 13:29    Post subject:  

Here's an image of the final result. There are still a couple of translations needed.

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


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Tue 02 Jul 2013, 18:44    Post subject:  

I upgraded right-click 6.6.4 to 6.6.5 for more Chinese translations.

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


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Thu 04 Jul 2013, 11:16    Post subject:  

Now works with Barry Kauler's Raring
http://murga-linux.com/puppy/viewtopic.php?t=87043

Chinese now shows in Raring Start menu.
I added the following code in pinstall.sh of icake's language pack
Code:

#120924 DejaVu font no good for non-Latin languages...
#see also similar code in /usr/local/petget/hacks-postinstall.sh.
LANGPACKLANG=zh
case $LANGPACKLANG in
 zh*|ja*|ko*) #chinese, japanese, korean
  sed -i -e 's%DejaVu Sans%Sans%' ./etc/xdg/templates/_root_*
  if [ -d ./root/.jwm ];then
   sed -i -e 's%DejaVu Sans%Sans%' ./root/.jwm/themes/*-jwmrc
   sed -i -e 's%DejaVu Sans%Sans%' ./root/.jwm/jwmrc-theme
  fi
  [ -d ./etc/xdg/openbox ] && sed -i -e 's%DejaVu Sans%Sans%' ./etc/xdg/openbox/*.xml
  [ -d ./root/.config/openbox ] && sed -i -e 's%DejaVu Sans%Sans%' ./root/.config/openbox/*.xml
  GTKRCFILE="$(find ./usr/share/themes -type f -name gtkrc | tr '\n' ' ')"
  for ONEGTKRC in $GTKRCFILE
  do
   sed -i -e 's%DejaVu Sans%Sans%' $ONEGTKRC
  done
  if [ -d ./root/.mozilla ];then
   MOZFILE="$(find ./root/.mozilla -type f -name prefs.js -o -name '*.css' | tr '\n' ' ')"
   for ONEMOZ in $MOZFILE
   do
    sed -i -e 's%DejaVu Sans%Sans%' $ONEMOZ
   done
  fi
 ;;
esac



Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0855s ][ Queries: 11 (0.0374s) ][ GZIP on ]