Page 7 of 14

i18n in pppoe, ptorrent and partview

Posted: Wed 16 Feb 2011, 21:51
by rodin.s
Gettexed some scripts. Maybe some more tests of these scripts needed. I don't have pppoe and did only partial test of ptorrent.
Also xgettext in m08 doesn't work. I use devx.sfs of original Wary.

Code: Select all

# xgettext
bash: xgettext: command not found

xgettext in m08 doesn't work

Posted: Thu 17 Feb 2011, 12:03
by L18L
xgettext in m08 doesn't work. I use devx.sfs of original Wary.

At the moment I am with warym08 without pupsave
Having loaded-on-the-fly wary_devx_500.sfs it works

Code: Select all

# xgettext
xgettext: no input file given
Try `xgettext --help' for more information.
Hope this helps to find out where there is bug if any

xgettext

Posted: Thu 17 Feb 2011, 13:07
by shinobar
Thanks rodin for the TEXTDOMAIN fix.

Code: Select all

# xgettext
bash: xgettext: command not found
Load devx or poedit-1.4.2-4.sfs here

Posted: Thu 17 Feb 2011, 14:12
by jamesbond
Thanks for multilingual wary.

I have a rather sheepish question. How do I activate the IME while I'm in en_AU.UTF-8 locale?

You see - I'm thinking to learn a language that requires IME (scim, or equivalent), lets say Chinese (or Japanese for that matter - for the sake of discussion this is the same). Now I can't read any Chinese or Japanese yet, and if I change the locale to ja_JA I'm doomed because all the menu will change to Japanese (I won't be able to switch it back to English, I think). I'd prefer to stay in en_AU, for example, but I'd like the ability to enter Chinese or Japanese using the IME.

Is this possible? I know you build multilingual wary for one who already know the language - but I thought it would be useful for someone who is trying to learn another language too.

cheers!

IME(scim) with english locale

Posted: Thu 17 Feb 2011, 14:59
by shinobar
jamesbond wrote:How do I activate the IME while I'm in en_AU.UTF-8 locale?
In general, your locale should be registered in the file '/etc/gtk-2.0/gtk.immodules'.
By the default, only CJK locales can use scim, but you can add your locale like this:
"/usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so"
"scim" "SCIM Input Method" "scim" "/usr/share/locale" "ja:ko:zh:en"
In the multilingual Wary case, it is done automatically.
You need the wary-500m08.iso + lang_pack_all-0.3-w5.sfs, from here and here.
To set the locale to 'en_AU.UTF-8', choose 'en English' at the Country Settings. You can check on 'UTF-8 encoding' at the next dialog.
Starting IME is Ctrl + Space key.

Posted: Fri 18 Feb 2011, 02:07
by jamesbond
Thanks shinobar, I'll give it a try and let you know.

Posted: Fri 18 Feb 2011, 09:23
by jamesbond
Works !! This is excellent work !!

Congratz

Posted: Fri 18 Feb 2011, 11:09
by shinobar
[quote="jamesbond"]Works !! This is excellent work !!

Wary-500m09 release candidate

Posted: Sat 19 Feb 2011, 03:50
by shinobar
Uploaded wary-500m09.iso and wary-500j09.iso.
The wary-500m09 is the release candidate as the multilingual Wary.
The Japanese remix is published as wary-500j09.

CHANGES(500m09):
  • Removed Japanese support (Japanese remix is separated as wary-500j09)
  • Removed fonts: DejaVuSans-BoldOblique.ttf, DejaVuSans-Oblique.ttf
  • Removed applications:
    aufs2-util-old, cpu-scaling-ondemand, didiwiki, e3_utf8, gcolor2, gdmap, gfnrename, lamesmbxplorer, pbackup, pmetatagger, pschedule, pstopwatch, ptimer, puppy-podcast-grabber, seamonkey_addon_sqlite_manager, sgtt.
  • Farster snapmergepuppy taken from Wary-504
  • SNS updated(taken from Wary-504) but moved to an extra menu on the connectwizard.
  • Video_upgrade_wizard updated taken from Wary-504
  • Updated pman, sfs_load-0.8, pdict, Pschedule, Pupradio, You2pup
  • Updated Russian nls
TO DO:

SNS moved

Posted: Sat 19 Feb 2011, 04:21
by shinobar
I have never got success with the SNS.
Recently tested the ndswrapper with the SNS. Found the SNS does not remove the previous module which fails. Therefore, the PC freezed.

I moved SNS from the usual place. You can run the SNS from the special menu on the connectwizard if you want to use.

How to remix the multilingual Wary for your country?

Posted: Sat 19 Feb 2011, 08:19
by shinobar
How to remix the multilingual Wary for your country?
Basically, install your lang_pack and remaster.

Some note on the files under /etc /root and /usr/share/doc.
  • /etc/profile ... LANG
  • /etc/keymap ... keyboard layout
  • /etc/localtime ... link to the timezone info
  • /etc/xdg/templates/_root_.jwmrc ... part of menu
  • /root/.jwmrc ... menu
  • /root/.jwmrc-tray ... part of menu
  • /root/Choices/ROX-Filer/PuppyPin ... desktop icons
  • /root/.jwm/jwm_locale ... keeps current menu language
  • /root/.packages/woof-installed-package ... should keep the installed lang_pack record
  • /root/Startup/fullstart ... to be excutable
  • /usr/share/doc/welcome1stboot ... to be reset excutable bits
  • /usr/share/doc/home.htm ... shall be copied from /usr/share/doc/help/LANGUAGE_CODE/home.htm

localisation projects

Posted: Sat 19 Feb 2011, 17:31
by don570
Zigbert has just localised 'pschedule' which would be useful
to include for a distribution like Wary Multilingual.

I've localised mtpaintsnapshot.sh for German French and Spanish.
http://www.murga-linux.com/puppy/viewto ... 476#496476

________________________________________________

I noticed that Fluppy 13 by Jemimah uses the application 'Xarchiver'
which is localised.
Having all these localised programs would be a nice feature.

__________________________________________________

egg timer project

Posted: Sat 19 Feb 2011, 17:37
by don570
I localized a simple egg timer project as well.

http://www.murga-linux.com/puppy/viewto ... ca442672e3

_____________________________________________

Testing 5.04rc from Shinobar

Posted: Sat 19 Feb 2011, 20:13
by gcmartin
Testing LIveCD and all functions tested seem fine. Goes to desktop and discovers LAN card and sound cards without issues. Really like the fact that it goes to desktop setup screen and my LIveCD has GRUB4DOS at boot.

I have a question though: Barry's WARY has

Code: Select all

 -Version-
Kernel	Linux 2.6.32.28 (i686)
while your version is

Code: Select all

 -Version-
Kernel	Linux 2.6.31.14 (i686)
Can you share why there is a difference? Just trying to understand.

Thanks in advance

russian /usr/share/doc/nls update

Posted: Sat 19 Feb 2011, 21:08
by rodin.s
I have updated po-files in /usr/share/doc/nls and added ru-line to two .desktop files.
xgettext wasn't working because I used old save-file with new installation. With new save-file everything works.

future release of multilingual wary

Posted: Sun 20 Feb 2011, 01:25
by shinobar
gcmartin wrote:Barry's WARY has

Code: Select all

 -Version-
Kernel	Linux 2.6.32.28 (i686)
while your version is

Code: Select all

 -Version-
Kernel	Linux 2.6.31.14 (i686)
The multilingual wary-500m09 RC is based on the wary-500-small, adding many bugfix and updates from the Barry's 5.04RC, except the kernel and initrd.

Barry is going to release Wary Linux 5.1 with the kernel 2.6.32.28 and also with some old kernels.
Our multilingual wary maybe the wary-500m10, with minor update in translations, will be the final release based on the wary-500-small, kernel 2.6.31.14.

Our multilingual wary with various kernels maybe provided after the Barry's Wary Linux 5.1 is finalized.

Release scedule again

Posted: Mon 21 Feb 2011, 00:03
by shinobar
The Wary Puppy 5.1 final has been released from Barry.

I suppose we are better to change the future release schedule of our Multilingual Wary...
Next release of Multilingual Wary-500m10 to be following up the Barry's 5.1 including the kernel and the initrd.
And the final release to be Wary-510m early in March.

Some concern on the kernel 2.6.31.14: There are 3 different 2.6.31.14 kernel for wary, Wary-500, Wary-500-small and of Wary-510...

Posted: Mon 21 Feb 2011, 11:26
by yordanj94
Hi Shinobar.
So far so good.
I have few questions how to proceed .
I use bulgarian as locale ,but don't need the language pack to integrate.
Should i answer "cancel" when Puppy asks me to browse to that pack ?
Every time i restart X until i create save file, Puppy insists for that.
My second one is about pppoe-fix .In my country pppoe conections are very popular, but except in LUPQ-511 in all the other versions i had to replace original "pppoe-connect" file with the fixed one in LUPQ-511.
Wouldn't it be better if is integrated by default ?
The last question for now is about remastering .When i remaster CD i copy all from my root and etc folders, but after when i boot from remastered CD always Puppy starts with massage about no correct shutdown.Is that normal,or i am doing something wrong.
When i am asked to have separate .sfs file for drivers is that gonna help for the older machine with less RAM or doesn't matter ?
Thanks in advance and hope not to disturb you so much.
Greetings

Posted: Mon 21 Feb 2011, 14:28
by mave
Hi shinobar,

yes, in my optinion Multilingual wary should follow Barry's 5.1 with long-term-supported kernel 2.6.32.28.

For me, I'm not happy with its Xorg 7.3 and upgraded to 7.5, maybe this would be good as default?

mave

puppyhelp pman

Posted: Mon 21 Feb 2011, 21:08
by L18L
Tested the new pman position top-left
The input field is larger now, very good :)
HTML pages in /usr/share/doc/help/<language-code>/xxx.htm are shown :)
Because I am a little bit lazy in translating I was searching a solution to get localized pages from the web. :D
The pages from /root/.packages/PKGS_HOMEPAGES are english only, of course. But there is an easy way to show a localized page from the web instead. Tested example:
python will show http://www.python.org/
I have put a file PKGS_HOMEPAGES into /usr/share/locale/de
content

Code: Select all

python http://wiki.python.de/
Try it for your language please.

apply code in /usr/bin/pman line 290

Code: Select all

#w464 search pkg homepages db...
pPATTERN='^'"${NAME}"' '

# search localized homepages db by L18L
HOMESITE="`grep -i "$pPATTERN" /usr/share/locale/${lng2}/PKGS_HOMEPAGES | head -n 1 | cut -f 2 -d ' '`"
[ "$HOMESITE" = "" ] && HOMESITE="`grep -i "$pPATTERN" /root/.packages/PKGS_HOMEPAGES | head -n 1 | cut -f 2 -d ' '`"

if [ "$SECTION" = "" -a "$HOMESITE" != "" ];then
This solution is better than:
redirecting HTML page in /usr/share/doc/help/de/python.htm which was my first solution.

Note: if python_DOC is installed then the english manpage of python will be displayed. Therefore using _DOC.pet is not recommended for NLS users.

feedback welcome
PS: rox-Filer homepage has just french and italian
edited 2011-02-23
/usr/share/doc/help/
<language-code>/PKGS_HOMEPAGES also might be a good location for the localized HOMEPAGES