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 Fri 22 Nov 2019, 11:40
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Italian language pack (OLD)
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 9 [131 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Author Message
L18L

Joined: 19 Jun 2010
Posts: 3450
Location: www.eussenheim.de/

PostPosted: Thu 10 Apr 2014, 09:52    Post subject:  

vicmz wrote:
xanad wrote:
Very Happy Embarassed Cool The 'base' is now completed.....


Congratulations! First page updated. Very Happy


My congrats too

posting from three-lingual precise
EDIT which is powered by Multilingual Simultan version 0.5.
al-it.png
 Description   
 Filesize   51.99 KB
 Viewed   309 Time(s)

al-it.png


Last edited by L18L on Thu 10 Apr 2014, 10:28; edited 1 time in total
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Thu 10 Apr 2014, 10:10    Post subject:  

Posting from multi-lingual L.A.S.S.I.E. 002 (10 Languages Setup!!!) Very Happy
multilingual-lassie.jpg
 Description   Posting from multi-lingual L.A.S.S.I.E. (10 Languages Setup!!!)
 Filesize   63.87 KB
 Viewed   290 Time(s)

multilingual-lassie.jpg


_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Thu 10 Apr 2014, 10:14    Post subject:  

Today is a good day hot and sunny in the mountains, I'm cooking a great ragu, my puppies are running around in the woods ...
vicmz wrote:
Traduzioni dal ItalianPuppy.org team

but I have not had any help from the Italian forum, all translations and all mistakes are 'my bag of flour' as they say in Italian... anything from the forum as I had hoped ... no Italian team has worked ... I dance alone ... Cool
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 3450
Location: www.eussenheim.de/

PostPosted: Thu 10 Apr 2014, 11:11    Post subject:  

xanad wrote:
I'm cooking a great ragu,...

http://www.youtube.com/watch?v=WUdkZiwRmB8
e
buon appetito
Back to top
View user's profile Send private message 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Thu 10 Apr 2014, 12:18    Post subject:  

Another question:

i translate the file usr/local/pup_event/frontend_funcs

for this localization:



but is not present in MoMa, I put manually in the langpack ? Or exist another solution?

Last edited by xanad on Thu 10 Apr 2014, 12:45; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
vicmz


Joined: 15 Jan 2012
Posts: 1268

PostPosted: Thu 10 Apr 2014, 12:34    Post subject:  

xanad wrote:
Today is a good day hot and sunny in the mountains, I'm cooking a great ragu, my puppies are running around in the woods ...
vicmz wrote:
Traduzioni dal ItalianPuppy.org team

but I have not had any help from the Italian forum, all translations and all mistakes are 'my bag of flour' as they say in Italian... anything from the forum as I had hoped ... no Italian team has worked ... I dance alone ... Cool


Quote:
Traduzioni principalmente di Xanad


Then apart from the small percentage of existing translations, we can say you taught Puppy to bark in Italian. Laughing

L18L wrote:
posting from three-lingual precise
EDIT which is powered by Multilingual Simultan version 0.5.


RSH wrote:
Posting from multi-lingual L.A.S.S.I.E. 002 (10 Languages Setup!!!) Very Happy


Remeber when official Puppy builds were English only? Laughing

_________________
Puppy Linux en español
Back to top
View user's profile Send private message 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Thu 10 Apr 2014, 12:50    Post subject:  

Without your help and L18L, I would not have translated almost puppy. I was hoping the collaboration of the Italian forum at least to check the translations but the forum shows no signs of life .......
It 'nice to see puppy barking in Italian

I try again http://www.italianpuppy.org/community/index.php?topic=587.new#new
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 3450
Location: www.eussenheim.de/

PostPosted: Thu 10 Apr 2014, 14:15    Post subject: funcs  

xanad wrote:
translate the file usr/local/pup_event/frontend_funcs

these scripts have been changed/created short time ago.
My translations and Victor's I think were already done before.

You found a bug!
Not really a bug but just not translatable for momanqager.

Solution
-insert
Code:
export TEXTDOMAIN=pup_event_frontend_d

near top of frontend_funcs

- delete momanager' working directory
Code:
rm /tmp/momanager


- restart momanager.

You will then find (I did) translations in momanager at frontend_funcs

Note, no user will need this insertion, it is for translator only-

I should build it into n4ext version of momanager...

Thanks for reporting
Back to top
View user's profile Send private message 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Thu 10 Apr 2014, 14:59    Post subject:  

Thanks L18L, it's ok, works Idea

pup_event_frontend_d : https://drive.google.com/file/d/0Bz9e78iH9qX7MS1rc0dSYlJoenc/edit?usp=sharing
Back to top
View user's profile Send private message Visit poster's website 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Thu 10 Apr 2014, 17:47    Post subject:  

vicmz wrote:
Remeber when official Puppy builds were English only?

Yes, I do!

When I've made up LazY Puppy, it was a lot of work to edit the .desktop and the .directory files, to have DE menu categories and entries...

xanad wrote:
pup_event_frontend_d

I would not put this into the langpack to replace the original existing file by default.

I have edited (and modified) this file for my L.A.S.S.I.E. Precise and L.A.S.S.I.E. Slacko (which is not available on the web), and found these files are different. I did not look into racy and wary or into wheezy etc. but I think there will be differences as well.

Maybe you could add code to the pinstall.sh of the langpack to include the code as it is done for the AppInfo.xml files in /usr/local/apps (e.g.).

Are there any plans at the langpack developers side, to expand the langpacks for the use in Slacko?

Currently they aren't really usable for the use in Slacko!

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Fri 11 Apr 2014, 03:10    Post subject:  

Wink Thanks for your 'warning'....

RSH wrote:
Are there any plans at the langpack developers side, to expand the langpacks for the use in Slacko?


I build this langpack with momanager&slacko560...

RSH wrote:
I did not look into racy and wary or into wheezy etc. but I think there will be differences as well.


I don't know the other distro very well and I'll try it.

...maybe I'm saying a silly thing, but it is possible that the frontend_funcs file changes status after more reboot?
Back to top
View user's profile Send private message Visit poster's website 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Fri 11 Apr 2014, 10:13    Post subject:  

Quote:
but it is possible that the frontend_funcs file changes status after more reboot?

I don't know, but I don't think so.

Though I'm not sure, because I don't use save files - there is just one exception on my LazY Puppy based O.S.I.R.I.S. Multimedia-Studio, a 350 MB ISO, which doesn't have that file.

Attached the screenshots of Welcome1stBoot from L.A.S.S.I.E. Precise (based on 571) and L.A.S.S.I.E. Slacko (based on 57). The Results are almost equal to the Results in DE.
Welcom1stBoot-Precise571-LASSIE-it.jpg
 Description   
 Filesize   74.63 KB
 Viewed   201 Time(s)

Welcom1stBoot-Precise571-LASSIE-it.jpg

Welcom1stBoot-Slacko57-LASSIE-it.jpg
 Description   
 Filesize   64.79 KB
 Viewed   244 Time(s)

Welcom1stBoot-Slacko57-LASSIE-it.jpg


_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Fri 11 Apr 2014, 12:10    Post subject:  

you're right, there are differences also in the menu ...

New topic in italian: http://www.italianpuppy.org/ Cool
Back to top
View user's profile Send private message Visit poster's website 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Sat 12 Apr 2014, 14:20    Post subject:  

Solved by myself (I hope)

xanad wrote:
Hi all, sorry, how I can translate 'gparted_shell' using MoMa? Sad


1) put these lines into source file:
Code:

. gettext.sh
export TEXTDOMAIN=gparted_shell
export OUTPUT_CHARSET=UTF-8


2) add
Code:

$(gettext '....text......')

for each strings to translate

3) clean tmp/momanager
4) found 'gparted_shell' in MoMa
5) launch 'create'
6) it's all ok

gparted_shell : https://drive.google.com/file/d/0Bz9e78iH9qX7YTNZbE5DcVFOcVU/edit?usp=sharing

These codes are applicable for all files?
Without the modified source file inside the fs, obviously, not works.....solutions?
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 3450
Location: www.eussenheim.de/

PostPosted: Mon 14 Apr 2014, 09:54    Post subject: gparted_shell
Subject description: outdated version
 

xanad wrote:
Solved by myself (I hope)

xanad wrote:
Hi all, sorry, how I can translate 'gparted_shell' using MoMa? Sad


Here is the other "solution"
Code:
#!/bin/sh
#(c) copyright 2008 Barry Kauler
#2008 Lesser GPL licence v2 (http://www.fsf.org/licensing/licenses/lgpl.html)
#v411 BK: wrapper for gparted, prevent indefinite scan at startup on some systems.
#v424 update desktop drive icons. note, this is also done in /usr/sbin/bootflash, puppyinstaller.
#v424 report that gparted crash with a non-english locale.
#111013 remove LANG=C
#130118 rodin.s: add gettext.
#130722 new method to signal to update desktop drive icons.

export TEXTDOMAIN=gparted_shell
export TEXTDOMAINDIR=/usr/share/locale
export OUTPUT_CHARSET=UTF-8
. gettext.sh
export LANGORG=$LANG

#v424 report that gparted crash with a non-english locale. well, maybe just do this...

#export LANG=C # off for gettext, hope it won't crash

echo -n "" > /tmp/gparted_shell_probe
PROBEDISK="`probedisk2 | grep -v '|optical|'`"
echo "$PROBEDISK" |
while read ONEPROBE
do
 ONEDRIVE="`echo -n "$ONEPROBE" | cut -f 1 -d '|' | cut -f 3 -d '/'`"
 ONECATEG="`echo -n "$ONEPROBE" | cut -f 2 -d '|'`"
 case $ONECATEG in
  drive) ONECATEG="$(gettext 'internal drive')";;
  usbdrv) ONECATEG="$(gettext 'USB drive')";;
 esac
 ONEDESCR="`echo -n "$ONEPROBE" | cut -f 3 -d '|' | tr '\"' ' '`"
 echo "<radiobutton><label>${ONEDRIVE} ${ONECATEG}. $(gettext 'Descr:') ${ONEDESCR}</label><variable>RADIO_${ONEDRIVE}</variable></radiobutton>" >> /tmp/gparted_shell_probe
done

 echo "<radiobutton><label>$(gettext 'ALL DRIVES. Scan all drives at startup')</label><variable>RADIO_all</variable></radiobutton>" >> /tmp/gparted_shell_probe
 
DRVTAGS="`cat /tmp/gparted_shell_probe`"

export MAIN_DIALOG="
<window title=\"Gparted\">
 <vbox>
  <text><label>$(gettext 'Welcome, Gparted is an application to examine and modify partitions in a disk drive. At startup, the default behaviour is for Gparted to scan for all drives in the computer, and on some computers this can take a very long time. Therefore, this dialog window enables you to make a choice of which drive you want to work on (and Gparted will only scan that drive at startup).')</label></text>
  <text><label>`gettext \"WARNING: A PC may have a single VFAT or NTFS partition, with Windows installed, and you might want to decrease the size of that partition so as to be able to create a Linux partition. For Windows XP/98/95 this is usually ok (but be careful not to make it too small, say 5GB for XP). However, Vista gets very upset if the partition is resized and may not work properly afterward (in some cases won't even start) -- there may be a fix for this, but we don't know what it is.\"`</label></text>
 
  ${DRVTAGS}
 
  <hbox>
   <button>
    <label>$(gettext 'OKAY')</label>
    <action type=\"exit\">OKAYBUTTON</action>
   </button>
   <button>
    <label>$(gettext 'CANCEL')</label>
    <action type=\"exit\">CANCELBUTTON</action>
   </button>
  </hbox>

 </vbox>
</window>
"

RETVALS="`gtkdialog3 --program=MAIN_DIALOG`"

[ "`echo "$RETVALS" | grep 'OKAYBUTTON'`" = "" ] && exit

THEDRIVE="`echo "$RETVALS" | grep '"true"' | cut -f 1 -d '=' | sed -e 's/RADIO_//'`"

[ "$THEDRIVE" = "all" ] && exec gparted

#v424 record state...
tdPATTERN="/dev/${THEDRIVE}"
DRVSTATE1="`probepart | grep "$tdPATTERN"`"

gparted /dev/${THEDRIVE}

#v424 update desktop drive icons. note, this is also done in /usr/sbin/bootflash, puppyinstaller...
#/tmp/pup_event_frontend_block_request is used in /sbin/pup_event_frontend_d to refresh drv...
DRVSTATE2="`probepart | grep "$tdPATTERN"`"
if [ "$DRVSTATE1" != "$DRVSTATE2" ];then
 sync
 #130722 this file was read by the old /sbin/pup_event_frontend_d big script...
 #echo "$THEDRIVE" > /tmp/pup_event_frontend_block_request
 #now have a binary daemon, send this uevent to it, then /usr/local/pup_event/frontend_change will be called...
 echo change > /sys/block/${THEDRIVE}/uevent
fi

###END###

Looks like slacko5.6 is not containing above version of gparted_shell...
Code:
#!/bin/sh
#(c) copyright 2008 Barry Kauler
#2008 Lesser GPL licence v2 (http://www.fsf.org/licensing/licenses/lgpl.html)
#v411 BK: wrapper for gparted, prevent indefinite scan at startup on some systems.
#v424 update desktop drive icons. note, this is also done in /usr/sbin/bootflash, puppyinstaller.
#v424 report that gparted crash with a non-english locale.

#v424 report that gparted crash with a non-english locale. well, maybe just do this...
export LANG=C
Yes.
Who cares? Slacko5.7 is out......

Anyhow, you found a bug and fixed it! Very Happy

EDIT
reported here: http://www.murga-linux.com/puppy/viewtopic.php?t=90489&start=563
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 5 of 9 [131 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
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.0658s ][ Queries: 12 (0.0056s) ][ GZIP on ]