Quickset Wary-5.1.1-01q the Final Release

A home for all kinds of Puppy related projects
Message
Author
User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

The multilingual wary-500m06 available

#76 Post by shinobar »

The download size of the wary-500m06.iso is 140MB including 38MB additional language packages.
The core 102MB is loaded at first boot, the needed language pack is loaded when you choose the language.
Try this new multilingual feature.

CHANGES
(wary-500m06) TODO:
  • Oops, I forgot to update pupsaveconfig. still improper shutdown message at no save to flash.
  • Need to apply Barry's fix on sound detection
    against /etc/rc.d/r.csysinit at line 241:

    Code: Select all

     rm -f /dev/mixer 2>/dev/null #110113 make sure removed, see test in /etc/init.d/10alsa.
  • The wget is older version than the original?
Last edited by shinobar on Sat 29 Jan 2011, 12:50, edited 12 times in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

i18n for pupscan pwsget video-wizard wakepup2 xdelta_gui

#77 Post by rodin.s »

Gettexted another 5 scripts. There are scripts only. You'll have to create pot file yourself. I am not sure where to include them, in usr_sbin.pot maybe. I used unusual gettext method in zigbert's pwsget. It was new idea for me. It could also be used in gettexting new PPM interface.
Attachments
usr_sbin_i18n-200111.tar.gz
(9.94 KiB) Downloaded 469 times

oui

#78 Post by oui »

hii

what ist with Hindi (official language of India) / Urdu (common tongue with Pakistan), one of the most important language of the world and the language of the next greatest nation of the world with over 0,5 mrd people und 30 y. :wink: , all highly motived get own children and to become the most important people of world :idea: ) ?

(only character fonts are urgently needed. it is possible to write Devanagari a lot of time in diverses Versions of Puppy after copying the char fonts of Debian. I did already include them in the remastered old version of turbo pup. the problem was under the applications: divers applications did operate correctly, other not... and the next problem was the orthography control; I have no experience with Urdu. Urdu has special chars different from arabic)

bye

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Supported languages

#79 Post by shinobar »

oui wrote:what ist with Hindi (official language of India) / Urdu (common tongue with Pakistan)
Thanks oui for joining us.
They are supported bylang_support_all-1.5.sfs at this point of time.
But the lang_support_all-1.5.sfs may be outdated and it shall be updated for Wary-500 in near future.
Also we hope anyone contribute those translation of the desktop and scripts.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

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

m06

#80 Post by L18L »

Thank you, shinobar and rodin.s, the m06 is really a great step!
specially the inclusion of the language-packs
and seamonkey already localized.
now it up to us translators to improve the translations of the puppy scripts.
Just one suggestion:
We all know what is in welcome1stboot
But I think a newcomer will need to read this informations more than just once. I suggest to repeat the welcome (not only at 1st boot) and include a checkbox (Do not show this information any more) unless the checkbox is ticked, so everyone will be happy.
Attachments
countrywizard-de.tar.gz
revised po and mo
(5.41 KiB) Downloaded 469 times
Last edited by L18L on Mon 24 Jan 2011, 19:41, edited 1 time in total.

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

xorgwizard

#81 Post by L18L »

L18L wrote:
Quote:
xorgwizard: silently does not anything

solved: was with xvesa
The Dialog was in the error file.
A small message on the screen would have been nicer.
and here is the message (similiar in video-wizard):
insert 5 lines in /usr/sbin/xorgwizard at line 60

Code: Select all

export LANGORG=$LANG

CURRENTX="`readlink /usr/bin/X`"
if [ "$CURRENTX" != "Xorg" ] && [ "`pidof X`" != "" ];then
 Xdialog --title "$(gettext 'Xorg Video Wizard')" --msgbox "$(gettext 'The Xorg X server is not currently running.
Select the Xvesa Video Wizard from the menu. Click OK button to exit...')" 0 0
 exit
fi

mkdir -p /usr/lib/xorg/modules/drivers-backup

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

i18n for pupscan pwsget video-wizard wakepup2 xdelta_gui

#82 Post by L18L »

rodin.s wrote:
I am not sure where to include them, in usr_sbin.pot maybe.
I think video-wizard should go into the builtin xorgwizard.po that means being available before the language-pack is installed.

wakepup2 now is in applications.extra (candidates for disappearing?)

I would build a new TEXTDOMAIN (pup_extras, pup_nicetohave ?)
I used unusual gettext method in zigbert's pwsget. It was new idea for me. It could also be used in gettexting new PPM interface.
I never used pwsget, wget is much simpler to use in console and it is fully localized (wget.mo). pwsget is a simple exercise for Gtkdialog without error message if URL not existent, so could you please explain your 'unusual gettext method'?
Thanks in advance

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: welcome not just at 1st boot

#83 Post by shinobar »

L18L wrote:Just one suggestion:
We all know what is in welcome1stboot
But I think a newcomer will need to read this informations more than just once. I suggest to repeat the welcome (not only at 1st boot) and include a checkbox (Do not show this information any more) unless the checkbox is ticked, so everyone will be happy.
Good point, L18L!

The LupQ-511 has a link to the welcom1stboot.html at 'help', the index.html.
But now the welcome1stboot is a program...

By the way, do you need the seach box and pulldown to link the documentations on 'help', the index.html?
It takes remarkable time to rebuild index.html(indexgen.sh) for slow PC's.
We can replace the 'help', the index.html with the program /usr/sbin/puppyhelp, to be modified.

But they are not a scope of translation but a suggestion of next wary.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: xorgwizard

#84 Post by shinobar »

L18L wrote:xorgwizard: silently does not anything

solved: was with xvesa
The Dialog was in the error file.
It maybe the problem of translation. Seems no matter Xvesa or Xorg.
See '/tmp/xorgwizard-errors.log'.

Type the command with locale C from a virtual terminal. it works still under Xvesa.

Code: Select all

lang=C xorgwizard
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

usr_sbin.pot updated

#85 Post by shinobar »

EDIT: Wait a while. The domain of the video-wizard shall be moved to xorgwizard according to the suggestion of L18L.
Another question is how about video_upgrade_wizard and wizardwizard...

(NOT yet attached the pot file of usr_sbin updated with the new i18n scripts by rodin.s.
You can replace /usr/share/doc/nls/usr_sbin with the extracted.)
It will be inculded in next release of wary-500m.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

oui

Re: Supported languages

#86 Post by oui »

Hi Shinobar

Thank you for your answer
shinobar wrote:
oui wrote:what ist with Hindi (official language of India) / Urdu (common tongue with Pakistan)
Thanks oui for joining us.
They are supported bylang_support_all-1.5.sfs at this point of time.
But the lang_support_all-1.5.sfs may be outdated and it shall be updated for Wary-500 in near future.
Also we hope anyone contribute those translation of the desktop and scripts.
of course I would be able to help to translate.

I do it there already for an other project.

but

a. I am busy now with this matter on the other project (depending of the time I can give daily to such an occupation), it is a very interesting matter: a new experimental project based on the packages of Linux from Scratch

b. I give you the url of the other project per message. the other project is well organized. if you register and loggin in the wiki you will see that the 2d page above is not actual any more because someone did actualize it on English, and for this page English was create as the mother version. the wiki itself controls the changes between the versions...

c. in Puppy we have somewhat what seems to become a chaos :wink: ...

for ex.:

you version of Wary 500 i18 is very interesting for me

but

the version quirky 120 is more interesting for me because of the existence of a KDE4-quirky120.sfs!

and as the all things go separately outside of woof it is a big problem to try to make the joining of the two good ideas in one common goal a wary/quirky4i18&kde

it seems not possible any more to coordinate the actions in the puppy world so that all efforts contribute to a same common thing...

I suppose that you probably have analog ideas concerning your work with i18 and if you see a solution, I would be happy to help you in some times.

salut

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

'unusual gettext method', countrywizard

#87 Post by rodin.s »

could you please explain your 'unusual gettext method'?
It may be unusual only for me. I couldn't gettext something within strong quotes the usual way.
I usually do:

Code: Select all

var="<label>something</label>"
with gettext:

Code: Select all

var="<label>$(gettext 'something')</label>"
With strong quotes it didn't work:

Code: Select all

var='<label>something</label>'
and I did it this way:

Code: Select all

var='<label>'$(gettext 'something')'</label>'
I used this also in pup-advert-blocker.

I also have made additional pet for Russian l10n with some things to improve it:
1. Added catalog /root/Startup/ with freememapplet_tray and network_tray. It would be nice to have them gettexted. But I don't know how to add gettext in C-programs so Russian is just hard coded into that binaries.
2. In /usr/share/applications/ I put some translated menu items. I think than Grub(legacy) should be left untranslated. I don't know how to translate that properly and Grub(легати
Attachments
wary500m06ru_plus-0.1.pet
small addition to ru-langpack
(45.31 KiB) Downloaded 454 times
pup-advert-blocker.gz
find domain for this. usr_sbin maybe.
(2.75 KiB) Downloaded 468 times
countrywizard-ru.tar.gz
revised po and mo
(6.64 KiB) Downloaded 444 times
Last edited by rodin.s on Tue 25 Jan 2011, 20:22, edited 2 times in total.

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

'unusual gettext method'

#88 Post by L18L »

Thank you rodin.s
was also for me unusual. Did you try:

Code: Select all

var="<label>$(gettext \"something\")</label>"
I hope your explanation will help others, too :)
and here gettext bash with GTK

I was used to do it this way:

Code: Select all

var="<label>`gettext  \"something\"`</label>"
not strong quotes but backticks. Why backticks? Spent 2 hours now to find the website from where I got it, no success! So take my explanation from memory:
"crackers can corrupt .po files by includung code (between backticks).
If backticks are used in the script then the backtick in the po/mo will create a runtime error and the bad code can do no harm."

for the pup-advert-blocker
I suggest TEXTDOMAIN=pup-advert-blocker ! =script name (starting pup....)
putting more in 1 textdomain makes sense if there are some identical sentences or if a script is called from another.
shinobar, what do you think?
Thanks for bringing the blocker to my attention, very useful!

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

help

#89 Post by L18L »

shinobar wrote:
By the way, do you need the seach box and pulldown to link the documentations on 'help', the index.html?
I doubt anyone has used it!
But
Enter the name of a utility program (ex: cat, ls) and click 'Search' button:
shows any command (in puppy or not!) and now I have created something better!
That was the good news
and the bad news: for german only
manpages-de-0.5_NLS.pet (only WHICH is in puppy)
usage: in textconsole type man ls (for example) and the manual for ls is in the browser.

I have browsed in "manpages.<luci's mother>.com" (you know what I mean), there are directories for other languages but almost empty for <language>.UTF8 and <language> not displaying correctly.

Edited 2011-02-07
puppy-manpages_NLS in 13 languages as pet or sfs now available in Localization Project

------
edited 2013-02-07
langpack_de-* contains manpages
Last edited by L18L on Thu 07 Feb 2013, 19:58, edited 3 times in total.

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

gettext methods

#90 Post by rodin.s »

I use:

Code: Select all

$(gettext "TEXT")
$(gettext 'TEXT')
`gettext \"TEXT\"`
`eval_gettext \"TEXT \\\$VAR\"`
and this new "zigbert method"

Code: Select all

'$(gettext 'TEXT')'

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

gettext methods

#91 Post by L18L »

ngettext is also very useful, especially if there is more than 1 plural form in a language.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: manpages

#92 Post by shinobar »

L18L wrote:manpages-de-0.5_NLS.pet (only WHICH is in puppy)
gud, L18L.
As for the Japanese manpages, we are providing with the devx Japanese version. I can extract them from it.

I don't know "manpages.<luci's mother>.com" :roll:
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

on-the-fly sfs loader

#93 Post by shinobar »

For your information:
I am now working on improved auto NLS loading system.
The key issue is loading extra sfs files on-the-fly.
I will upload the new designed sfs loader in couple of days.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

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

Manpages

#94 Post by L18L »

sorry for being too cryptic :(
DISTRO_COMPAT_VERSION of "lucid puppy" :roll:

for the .pet:
It was my first one.
I will make a better one if more languages (ja) available
renaming to manpages_NLS (without de)
and dependency of man

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

pup-advert-blocker

#95 Post by L18L »

@rodin.s
tested
success
thank you
Attachments
pup-advert-blocker-de.po.gz
(1.95 KiB) Downloaded 517 times

Post Reply