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 Thu 17 Apr 2014, 14:17
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Quickset Wary-5.1.1-01q the Final Release
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 18 [269 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 16, 17, 18 Next
Author Message
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Fri 21 Jan 2011, 03:21    Post subject: The multilingual wary-500m06 available  

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:
     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?

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html

Last edited by shinobar on Sat 29 Jan 2011, 08:50; edited 12 times in total
Back to top
View user's profile Send private message Visit poster's website 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: Fri 21 Jan 2011, 04:09    Post subject: i18n for pupscan pwsget video-wizard wakepup2 xdelta_gui  

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.
usr_sbin_i18n-200111.tar.gz
Description 
gz

 Download 
Filename  usr_sbin_i18n-200111.tar.gz 
Filesize  9.94 KB 
Downloaded  270 Time(s) 
Back to top
View user's profile Send private message 
oui

Joined: 20 May 2005
Posts: 1846
Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone

PostPosted: Sun 23 Jan 2011, 05:22    Post subject:  

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
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Sun 23 Jan 2011, 08:24    Post subject: Supported languages  

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.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2473
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Mon 24 Jan 2011, 14:41    Post subject: m06
Subject description: welcome not just at 1st boot
 

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.
countrywizard-de.tar.gz
Description  revised po and mo
gz

 Download 
Filename  countrywizard-de.tar.gz 
Filesize  5.41 KB 
Downloaded  259 Time(s) 

Last edited by L18L on Mon 24 Jan 2011, 15:41; edited 1 time in total
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2473
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Mon 24 Jan 2011, 14:44    Post subject: xorgwizard
Subject description: message if not running xorg
 

L18L wrote:
Quote:
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:
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
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2473
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Mon 24 Jan 2011, 16:23    Post subject: i18n for pupscan pwsget video-wizard wakepup2 xdelta_gui  

rodin.s wrote:
Quote:
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 ?)
Quote:
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
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Mon 24 Jan 2011, 19:16    Post subject: Re: welcome not just at 1st boot  

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.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Mon 24 Jan 2011, 19:42    Post subject: Re: xorgwizard
Subject description: message if not running xorg
 

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:
lang=C xorgwizard

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Tue 25 Jan 2011, 02:13    Post subject: usr_sbin.pot updated  

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.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
oui

Joined: 20 May 2005
Posts: 1846
Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone

PostPosted: Tue 25 Jan 2011, 05:19    Post subject: Re: Supported languages  

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
Back to top
View user's profile Send private message 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: Tue 25 Jan 2011, 12:40    Post subject: 'unusual gettext method', countrywizard  

Quote:
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:
var="<label>something</label>"

with gettext:
Code:
var="<label>$(gettext 'something')</label>"

With strong quotes it didn't work:
Code:
var='<label>something</label>'

and I did it this way:
Code:
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(легатия) means nothing.
3. In /usr/local/petget there is a translated help.htm.
4. in /usr/sbin I put some i18n scripts with usr_sbin2 domain and usr_sbin2.mo, just for testing.
5. I think welcome1boot has too much of white space now, so I put another welcome1boot. Also it uses a good idea of L18L about picture in /usr/share/locale/ru/pixmaps/menu2.png.
6. And a small request: three desktop icons are too close to each other - setup, edit, console. After switch to Russian I have to move them with mouse. Could you move them a little bit from each other by default.
Also i18n in alsaconf is strange. It's not caught by xmessage and pot file doesn't have full information.

And countrywizard revised.
wary500m06ru_plus-0.1.pet
Description  small addition to ru-langpack
pet

 Download 
Filename  wary500m06ru_plus-0.1.pet 
Filesize  45.31 KB 
Downloaded  255 Time(s) 
pup-advert-blocker.gz
Description  find domain for this. usr_sbin maybe.
gz

 Download 
Filename  pup-advert-blocker.gz 
Filesize  2.75 KB 
Downloaded  264 Time(s) 
countrywizard-ru.tar.gz
Description  revised po and mo
gz

 Download 
Filename  countrywizard-ru.tar.gz 
Filesize  6.64 KB 
Downloaded  244 Time(s) 

Last edited by rodin.s on Tue 25 Jan 2011, 16:22; edited 2 times in total
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2473
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Tue 25 Jan 2011, 16:12    Post subject: 'unusual gettext method'  

Thank you rodin.s
was also for me unusual. Did you try:
Code:
var="<label>$(gettext \"something\")</label>"

I hope your explanation will help others, too Smile
and here gettext bash with GTK

I was used to do it this way:
Code:
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!
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2473
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Tue 25 Jan 2011, 16:33    Post subject: help
Subject description: manpages
 

shinobar wrote:
Quote:
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
Quote:
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
manpages-de-0.5_NLS.pet
Description  for now only german included
waiting for other languages
pet

 Download 
Filename  manpages-de-0.5_NLS.pet 
Filesize  304.6 KB 
Downloaded  313 Time(s) 

Last edited by L18L on Thu 07 Feb 2013, 15:58; edited 3 times in total
Back to top
View user's profile Send private message 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: Tue 25 Jan 2011, 16:40    Post subject: gettext methods  

I use:
Code:
$(gettext "TEXT")
$(gettext 'TEXT')
`gettext \"TEXT\"`
`eval_gettext \"TEXT \\\$VAR\"`

and this new "zigbert method"
Code:
'$(gettext 'TEXT')'
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 6 of 18 [269 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 16, 17, 18 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.1026s ][ Queries: 12 (0.0099s) ][ GZIP on ]