Internationalization of Fatdog64-700b2

For efforts in internationalising Puppy and solving problems in this area
Message
Author
User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

locale

#61 Post by L18L »

L18L wrote:A quick-locale-switcher will have to follow soon.
.. and here it is.

Expand attached add_to_fd65-700b2-NLS-5 to /

This will enable you to quickly (without RestartX) switch between your different (UTF-8) locales that you have before in control panel.
Attachments
toggleLANG.png
(25.36 KiB) Downloaded 607 times
add_to_fd65-700b2-NLS-5.tar.gz
(64.29 KiB) Downloaded 491 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

jwm menu

#62 Post by L18L »

Copy

Code: Select all

#!/bin/ash
# create template for translation of technosaurus' jwm_menu_create
IN=/usr/bin/jwm_menu_create; OUT=jwm
echo "# translate \"strings\" to ${LANG%_*} language 
# and move this file jwm to $TEXTDOMAINDIR/${LANG%_*}/LC_MESSAGES/jwm
# run fixmenus and jwm -restart and you see your translation in JWM menu.
#" > $OUT
while read  A; do
  case "$A" in
   *{jwm_*\:\-*) A=${A%\}*}; A=${A##*\{}; echo "${A/:-/=\"}\"" >> $OUT ;;
  esac
done < $IN
exit 0
to new /usr/bin/jwm_menu_create_template
make it executable and run it.
A file named jwm will be created containing instructions about how to get translated jwm menu.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: Fatdog Chinese Language pets

#63 Post by L18L »

[quote="icake"]I am making new Chinese Language pets for fatdog64 630rc2 and runs into this challenge:

1. the starting menu at the lower left hand corner of the screen shows a fatdog logo with the word "Menu"
2. I think this is controlled by /etc/xdg/razor/razor-panel/panel.conf 2nd section [mainmenu] line 3:
English version: text=Menu
3. when I changed the above line to Chinese:
text=
Attachments
menu_button_text.png
right click on menu button
enabling localized configuration of text
(47.28 KiB) Downloaded 478 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Internationalization of Fatdog64-700b2

#64 Post by L18L »

Starting fresh

In a fresh install (or savefile=none)

load_sfs the official fd64-nls_700b2.sfs

download my 800k
http://now4u.org/[b]fd64-700b2-NLS-20141220[/b].tar.gz
unpack to /
and restartx

Have fun

EDIT
tested not very successfully :cry:

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Internationalization of Fatdog64-700b2

#65 Post by L18L »

work in progress for internationalizing Fatdog64

Use a fresh
fatdog64-700-b2

right click on downloaded
fd64-700b2-NLS.sfs
and choose Load SFS

extract this
http://now4u.org/fd64-700b2-NLS-20141221.tar.gz
to /
see screenshot

execute

Code: Select all

update_desktop_files.sh /tmp/my_desktop_info*
to get German data for menu

Hope that helps
Have fun
Attachments
extract.png
(29.94 KiB) Downloaded 414 times
Last edited by L18L on Wed 31 Dec 2014, 13:51, edited 1 time in total.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Fatdog64-700b2

#66 Post by L18L »

work in progress for internationalizing Fatdog64

Use an official fresh (savefile=none)
Fatdog64-700b2

right click on downloaded official
fd64-nls_700b2.sfs
and choose "Load SFS"

extract this
http://now4u.org/fd64-700b2-NLS-[b]20141231[/b].tar.gz
updated to: http://now4u.org/fd64-700b2-NLS-[b]20150106[/b].tar.gz
to /
see screenshot one post upwards

execute Code:

Code: Select all

update_desktop_files.sh /tmp/my_desktop_info*
to get data for menu

Menu (icon only) > Restartx
will simulate new internationalized Fatdog64
At the moment there is a choice just between English and German

Create a fatdog.mo for your language
(share it) and
the initial choice will grow by one

Have fun and a Happy New Year :wink:

... and a special thank to Bert. Without him I would have never been always using de_BE ! This made me detect a big bug in razor's internationalization (example: they use de_DE and no de )
..anyway it is fixed now (and not for de only)
Attachments
choose-locale.png
(13.13 KiB) Downloaded 484 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Internationalization of Fatdog64-700b2

#67 Post by L18L »

Use an official fresh (savefile=none)
Fatdog64-700b2

right click on downloaded official
fd64-nls_700b2.sfs
and choose Load SFS

extract this:
http://now4u.org/fd64-700b2-NLS-20150115.tar.gz
to /
see screenshot two posts upwards

execute Code:

Code: Select all

update_desktop_files.sh /tmp/my_desktop_info*

to get some data for menus

Then use
Menu > Restartx
and see how the new internationalized Fatdog64 would be started.
At the moment there is a choice just between English and German

Create a fatdog.mo for your language
(share it) and
the initial choice will grow by one

Have fun

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Internationalization of Fatdog64-700b2

#68 Post by L18L »

Time to add some docu
Attachments
i18n.png
(18.72 KiB) Downloaded 421 times

icake
Posts: 556
Joined: Fri 27 Jul 2012, 00:58

Chinese Language Pets

#69 Post by icake »

I have made 2 half-Chinese and 2 Chinese language txzes for fatdog64 700. 2 of these txzes are for Traditional Chinese (applicable to locales zh_HK and zh_TW) and 2 of these are for Simplified Chinese (applicable to locales zh_CN and zh_SG). For more details and download addresses, please visit the release notes dated Mar 9, 2015 below:

English: http://www.murga-linux.com/puppy/viewto ... &start=225
Chinese: http://www.minilinux.net/node/2545?page=2

Post Reply