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 Wed 20 Aug 2014, 09:04
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Lupu- Localising Quickpet
Moderators: Lobster, MU, raffy
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 10 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, ..., 8, 9, 10 Next
Author Message
Tasgarth

Joined: 06 Oct 2008
Posts: 202
Location: France, Besancon

PostPosted: Tue 25 May 2010, 19:08    Post_subject:
Sub_title: French Localisation
 

Quickpet 2.1.8 and 2.1.9 are running fine in French but Puppy's icon is on the middle not on the left and the word 'dans' (bienvenue dans Puppy's Quickpet ) is missing....
fr_FR.tar.gz
Description 
gz

 Download 
Filename  fr_FR.tar.gz 
Filesize  3.43 KB 
Downloaded  781 Time(s) 
saisie.jpg
 Description   
 Filesize   60.74 KB
 Viewed   2236 Time(s)

saisie.jpg


Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Tue 25 May 2010, 20:48    Post_subject:  

Tasgarth

Merci!

(Sorry but that is my French vocabulary)

I have fixed the formatting problem, It should be ok for all locales. I also made symlinks to fr_BE, fr_CH, fr_CA . I added "dans", so now it looks like "Bienvenue dans Puppy's Quickpet", although I might remove "Puppy's" in Iguleder's advice as there is a bidi problem. And true, we all know it's Puppy, er BIG logo right there reminding us! So it will be "Bienvenue dans Quickpet". Does that still make sense? (Not done for screeny)

Ok, 2.1.10 is up. Iguleder, feel free to correct any stupid things I have done, like double spaces, silly capital letters. You can use lisense.

Cheers
fr.png
 Description   
 Filesize   42.07 KB
 Viewed   2124 Time(s)

fr.png


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
Bert


Joined: 30 Jun 2006
Posts: 923

PostPosted: Wed 26 May 2010, 06:06    Post_subject: DUTCH  

Dutch translation of "en_US-2" .
Also cleaned up the Dutch text a bit.
Testers and proofreaders still welcome!

Great idea micko to use symlinks for the language variants!

I think Iguleder is right about removing "Puppy's" from the title.

Looking forward to Quickpet 3.0 Laughing
nl_NL-2.tar.gz
Description 
gz

 Download 
Filename  nl_NL-2.tar.gz 
Filesize  3.46 KB 
Downloaded  744 Time(s) 

_________________


Back to top
View user's profile Send_private_message 
Iguleder


Joined: 11 Aug 2009
Posts: 1882
Location: Israel, somewhere in the beautiful desert

PostPosted: Wed 26 May 2010, 12:29    Post_subject:  

Here it is, the Hebrew localization. Now it's perfect. Very Happy

Another thing I still need to do are some cleaning to the en_US locale. I'll handle that this weekend maybe.

Also, I've noticed the help menu has "SFS" appended in the first entry. And ... if you enlarge the window, you get some blank space on the bottom ... mmm ... not very elegant. Maybe it's a gtkdialog limitation or something ... I think you should disable window resize, if it's possible.

By the way: the "Puppy's" should be removed not for BiDi problems ... just because it's weird to show a huge logo and state it's Puppy ... I think it's safe to assume the user has a minimal amount of intelligence Very Happy


EDIT: 01micko, I have a great idea. Is it possible to put the sizes (X MB/Y KB) in separate labels and align them to the right, near the icons? This can save lots of problems when new versions of Quickpet come out, no need to localize sizes. And a big plus, it solves the BiDi issues. And saves size.

ANOTHER EDIT: and the names in separate labels on the left.
qp.png
 Description   
 Filesize   61.08 KB
 Viewed   2100 Time(s)

qp.png

he_IL.gz
Description 
gz

 Download 
Filename  he_IL.gz 
Filesize  3.39 KB 
Downloaded  726 Time(s) 

_________________
My homepage
Back to top
View user's profile Send_private_message Visit_website MSNM 
ICQ 
Iguleder


Joined: 11 Aug 2009
Posts: 1882
Location: Israel, somewhere in the beautiful desert

PostPosted: Wed 26 May 2010, 12:57    Post_subject:  

By the way, add detection of missing /root/.quickpet/Downloads, noticed this just now Wink

EDIT:

The cleaning code deletes the directory with its contents - line 456:
Code:
           <action>rm -rf /root/.quickpet/Downloads</action>


Change to:

Code:
           <action>rm -rf /root/.quickpet/Downloads/*</action>


I think it would be nice to add some message after the deletion.

_________________
My homepage
Back to top
View user's profile Send_private_message Visit_website MSNM 
ICQ 
Tasgarth

Joined: 06 Oct 2008
Posts: 202
Location: France, Besancon

PostPosted: Wed 26 May 2010, 14:00    Post_subject:
Sub_title: French Localization
 

01micko :
Quickpets v2.1.10 (fr_FR): OK
Thanks

About text :
1) Are they missing two $LOC_xxx ? See :
Fichier > 'répertoire de télechargement'
and Fichier > 'Effacer les logiciels'
It's in English language.
Perhaps it would be better delete their english texts ?

2) Menu >> Drivers
and
menu >> More pets >> Readme
(Menu >> Plus de Pets >> Avant Propos)
The texts are on the right or on the 'center'. Is it possible to get them on the left (justify=3) ?

3) → I Also rectified my 2 typing errors. => fr_FR-2.tar.gz

4) It would be better nice put 'quitter' ('quit') at the end ?
Menu : Fichier / Préférences :/ Répertoire du téléchargement / Effacer les logiciels téléchargés / Quitter
(Menu : File/Download Directory/Clear downloaded Packages/Quit )

Again Thanks for your work.
fr_FR-2.tar.gz
Description 
gz

 Download 
Filename  fr_FR-2.tar.gz 
Filesize  3.52 KB 
Downloaded  720 Time(s) 
saisie2.jpg
 Description   
 Filesize   55.59 KB
 Viewed   2151 Time(s)

saisie2.jpg

Back to top
View user's profile Send_private_message Visit_website 
mave

Joined: 02 Apr 2009
Posts: 130
Location: Germany

PostPosted: Fri 28 May 2010, 05:58    Post_subject: gtkdialog-splash - maybe an easy replacement for yaf-splash  

Updated with thanks to 01micko,

now killing/erasing the splash in a later calling of gtkdialog-splash -kill PID.

And: different splash screens (for security, maybe more applications using it at the same time) are managed, see syntax and example.

mave

************************
Hi,

here is a small script gtkdialog-splash for me using with a symlink named as yaf-splash. Seems to run like the original called within the Puppy scripts (no warranty!), ignoring most of its original options.

In Lucid (not 4.x) international characters seems to be working. Additional: -icon gtk.-xxx shows one of the gtk-stock-objects.

Maybe helpful for somebody Wink


Example:
Code:
./gtkdialog-splash -timeout 4 -fg red -icon gtk-info -fontsize large -text "Hallo: öäüÄÖÜß...


Syntax:
Code:
usage: gtkdialog-splash [OPTIONS] [-timeout SEC] -text TEXT | -kill PID
 
 - text EXPRESSION
 - timeout COUNT (in sec, default: 3)
 - icon GTK-XXX (for example: gtk-info all gtk-stock-symbols, default: none)
 - bg COLOR (background color red, blue, yellow..., default: grey)
 - fg COLOR (font color, default: black)
 - fontsize SIZE (small, medium, large, x-large, default: large)

 - kill PID (process ID called before:    PID=0 auto-search fo the last one,
                                PID=xxxxx kill the last one read by PID=$!)
gtkdialog-splash300510.tar.gz
Description  gtkdialog-splash and example code
gz

 Download 
Filename  gtkdialog-splash300510.tar.gz 
Filesize  1.75 KB 
Downloaded  743 Time(s) 
gtkdialog-splash2.jpg
 Description   gtkdialog-splash screenhot
 Filesize   37.1 KB
 Viewed   905 Time(s)

gtkdialog-splash2.jpg


Edited_times_total
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Fri 28 May 2010, 08:04    Post_subject:  

Tasgarth

Thanks for the update. I will rectify the missing LOC_xxx files. There are obviously some I missed Embarassed Laughing .

mave

Interesting work with the splash there. I will look at your code.

+++++++++++++++++++

The next version will be out over the weekend.

Thank you all for your support.

Cheers Smile

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
Bert


Joined: 30 Jun 2006
Posts: 923

PostPosted: Fri 28 May 2010, 08:23    Post_subject:  

Hi Mick and translators,

2.1.10 is looking good.

A couple of things today;

1. I removed the unneeded capitals from the pets lists, added a comma between the Pet names and the descriptions, to improve readability.
Better would be to make the names bold or "header" and separate them to the left like Iguleder proposed. If at all possible of course Wink

2. I can confirm what Tasgarth found: the pop-up above "clear downloaded packages" is not in the localization file (en_US).

3. Thinking about Quickpet, it suddenly dawned on me that we're creating a funny situation, by localizing a tool that only points to English-only pets...
I do realize this is unavoidable at the moment and that this is a transition period for Puppy in general.
But what about the near future? It is highly probable Petmakers will arise in many countries, offering localized pets. To what repos will these Pets be uploaded and how will Quickpet be able to find the correct one for the user's locale?

Have a nice weekend!

EDIT: Mick, you posted while I was typing. Forget about point two!
scrnprnt.jpg
 Description   
 Filesize   48.53 KB
 Viewed   2020 Time(s)

scrnprnt.jpg


_________________


Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Fri 28 May 2010, 08:43    Post_subject:  

Hello Bert

Quote:
3. Thinking about Quickpet, it suddenly dawned on me that we're creating a funny situation, by localizing a tool that only points to English-only pets...
I do realize this is unavoidable at the moment and that this is a transition period for Puppy in general.
But what about the near future? It is highly probable Petmakers will arise in many countries, offering localized pets. To what repos will these Pets be uploaded and how will Quickpet be able to find the correct one for the user's locale?


Ok!

I think the Gimp package is the full one. I'm not 100% sure but it is big enough. It should include Locales.

Zigbert has many localisations for Pwidgets. I will put in a link for those.

Chromium and Opera include locale files, I know because I have been switching to check up on things. Wink

There are locale files available for Firefox and Seamonkey. Links are needed to those.

I will need to check up on the other packages for the availability of locale files.

-------------------------------------

Anyone who compiles stuff, I urge you to post the NLS files too. I'm sure we can host them somewhere. Smile

^^^^^^^^^^^^^^^^^^^

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
Tasgarth

Joined: 06 Oct 2008
Posts: 202
Location: France, Besancon

PostPosted: Fri 28 May 2010, 18:45    Post_subject:  

About French locale Files:
Geany OK
Opera OK
Gimp : No in its last version, only an old version of Gimp with a translation
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Fri 28 May 2010, 19:17    Post_subject:  

Hello mave,

I like your gtkdialog-splash script.. Very Happy nice!

Maybe this is what you're after... ?
Code:
#dlgPID=$!
dlgPID=`ps|grep -w 'SPLASH'`
if [ ${#timeout} -gt 0 ]; then
   sleep $timeout
   kill $dlgPID 2>/dev/null
fi


It will look nice in Quickpet.. I like the icon idea.

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Fri 28 May 2010, 22:45    Post_subject:  

New version 2.1.11
-added LOC_353 and 354
-new splash thanks to mave
-updated current files

Get it from the main post

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
Bert


Joined: 30 Jun 2006
Posts: 923

PostPosted: Sat 29 May 2010, 15:35    Post_subject: DUTCH  

Dutch localization of "en_US-3".

Bert
nl_NL-3.tar.gz
Description 
gz

 Download 
Filename  nl_NL-3.tar.gz 
Filesize  3.55 KB 
Downloaded  740 Time(s) 

_________________


Back to top
View user's profile Send_private_message 
mave

Joined: 02 Apr 2009
Posts: 130
Location: Germany

PostPosted: Sat 29 May 2010, 16:53    Post_subject: gtkdialog-splash - update and a little bit extension  

Hi 01micko,

Quote:
Maybe this is what you're after... ?

Code:
#dlgPID=$!
dlgPID=`ps|grep -w 'SPLASH'`
if [ ${#timeout} -gt 0 ]; then
sleep $timeout
kill $dlgPID 2>/dev/null
fi


Yeah! ...thinking about splashes and not knowing about other applications are using this this at he same time. This code kills the process searched via gtkdialog splash-enviroment variable and maybe killing the wrong Wink So, a little luxus for the gtkdialog-splash script: storing in tmp-files PIDs for erasing the right splash. See example 'test', if interested.

Download in the original message above.

Cheers
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 3 of 10 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, ..., 8, 9, 10 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0979s ][ Queries: 12 (0.0060s) ][ GZIP on ]