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, 11:20
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 1 of 10 [148 Posts]   Goto page: 1, 2, 3, ..., 8, 9, 10 Next
Author Message
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Sat 22 May 2010, 03:43    Post subject:  Lupu- Localising Quickpet
Subject description: We need translators
 

Puppy 5.2 is out Smile Very Happy


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


Many thanks to..
Bert.....Dutch UPDATED!
MHHP....Swedish-color=green]UPDATED! [/color]
Tasgarth.....French UPDATED!
sasaqqdan... Chinese
mave... German UPDATED!
YoN.... Japanese
Jacapo... Italian
bit.. Russian
droope.. Spanish UPDATED! thanks GustavoYz!
renatogui.. Potuguese
mave.. a little gtkdialog splash to replace yaf-splash (now in all woof builds)

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

_________________________________________________________

I have rewritten Quickpet to allow for internationalisation.

It is very similar to the way zigbert achieves this with all his apps.

If you can translate from English to your native language we would appreciate your help.

The file to translate is /usr/local/quickpet/locals/en_US:english. Please keep your descriptions to a similar length or shorter so that the gtk-dialog gui does not bork.

I will attach it separately.

For those who can't translate could you please test this new Quickpet-2.1 to make sure that I didn't break anything. The best way to test is to download the package and save it outside your pupsave, boot Lupu-500 as puppy pfix=ram and go through the normal drill of timezone, locale, connect.. then install the pet. Hopefully you will notice no change when your run the Browser Installer.

You don't need to test pfix=ram, you can test on any lupu installation. You can now run quickpet from the command line including Browser Installer

quickpet executes Quickpet normally
quickpet BI executes Browser Installer
quickpet -h a very minor help!
quickpet -v shows version number

Thank you for your help Smile

Cheers


NOTE: Now 4beta4 with many new changes, we a looking forward to 5.2

NOTE: Now 4beta5 added Dutch, thanks Bert, minor bugfix to sfs install, thanks shinobar

NOTE: Now 4beta7 added Potuguese, thanks renatogui, updates to most translations, special thanks to himajin [jp] and GustavoYz [es]
Also fixed some bugs with sfs installation in full install and also added code to use Barry's new download_file if existing

NOTE: Now 4rc2.. sfs bugfix for full installs added, functionality for Barry's new 'download_file' script, frontend for wget, AND a new tiny gui for sfs_grab if you have a local sfs or for a remote sfs not in quickpet

NOTE: Now 4rc3, fixed a bug in sfs_grabber, thanks Jim1911

NOTE: Now 4rc4, improved graphics detection so some modifications to translations

NOTE: Now 4rc5, bugfix for locale LOC_920, 921, Tasgarth, new en_US uploaded, Dutch added

NOTE: Now 4rc6, bugfix for nvidia, thx bigpup, Petmaker plus is removed from sfs menu in menubar, thanks Jim1911

NOTE: Now 4.0-8, Dutch, French, Spanish addeed, also supports lupq by shinobar

NOTE: Now 4.0-9 .. Swedish added Smile

NOTE: Now 4.0-10 .. German added Smile
quickpet_lupu-4.0-10.pet
Description 
pet

 Download 
Filename  quickpet_lupu-4.0-10.pet 
Filesize  149.41 KB 
Downloaded  861 Time(s) 
en_US.english-404.tar.gz
Description 
gz

 Download 
Filename  en_US.english-404.tar.gz 
Filesize  5.02 KB 
Downloaded  689 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |

Last edited by 01micko on Wed 12 Jan 2011, 08:22; edited 57 times in total
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Sat 22 May 2010, 03:50    Post subject:  

Surprised

Please note that there is a GTK bug exposed with mozilla browsers with these latest versions of Quickpet. I am trying to work around it, when I do I will let you know.

EDIT Fixed the Mozilla bug. It was very strange and I still think it is GTK bug with mozilla, but I could be wrong. Anyway it's fixed now. Smile

Thanks.

_________________
Woof Mailing List | keep the faith Cool |

Last edited by 01micko on Tue 25 May 2010, 04:44; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
nooby

Joined: 29 Jun 2008
Posts: 10518
Location: SwedenEurope

PostPosted: Sat 22 May 2010, 05:31    Post subject:  

Pardon me for being extrememly dense.

1. Quickpet does it work in Quirky too?
2. Quickpet in Swedish only makes the quickpet in Swedish while therest of Lupu will still be in English? Still helpful I get but I guess they want the whole Lupu to be in local language or they don't use it. Am I wrong?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Sat 22 May 2010, 05:48    Post subject:  

nooby wrote:
Pardon me for being extrememly dense.

1. Quickpet does it work in Quirky too?
2. Quickpet in Swedish only makes the quickpet in Swedish while therest of Lupu will still be in English? Still helpful I get but I guess they want the whole Lupu to be in local language or they don't use it. Am I wrong?


Valid questions nooby Smile
1)It is designed for Lupu because most of the packages have Ubuntu binaries. Some will work in Quirky, but I do not recommend to try it, if you do it is at own risk Wink

2)Yes, it only localises for Quickpet, but Browser Installer is an integrated part of Quickpet and will be one of the first apps that a user will use. This is just a start.

Over the coming months I will convert all my apps with localisation ability, but I only know English so this is where I need help. Zigbert's apps are already there, but of course more work is needed. (More languages Wink )

I would be most grateful if you can translate the file (the eng_US file) to Swedish. You would be doing Puppy an oustanding service. Once you extract the file you can open it with a right click>open as text. Even if you can only do part of it that would be great. If you can't do it that's ok, don't feel pressured . Smile This is for fun, if it's not fun, why bother?

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
nooby

Joined: 29 Jun 2008
Posts: 10518
Location: SwedenEurope

PostPosted: Sat 22 May 2010, 06:53    Post subject:  

Thanks, I would feel very un-generous if I did not contribute. The forum has been my life 24/7 since Christmas 2009 so I owe the forum members at least that bit.

I don't promise though due to me even less good at computer terms in Swedish. I never use computer terms in Swedish. I have read and written in computer English since about 1986 and I learned English terms for computers since 1970 or so.

I simply don't know what the proper word for things is in Swedish because every time me see a Swedish computer term I get surprised me have no clue what it refers to. I always need do a double translation to get what it says.

From Swedish to English and back to my inner mentalese silent understanding.

But I could maybe try to borrow from Ubuntu Swedish and linux Mint Swedish terms and texts. and Exton's text too. So sooner or later I maybe do it. But we have many more Swedes on the forum so we maybe could work on it together.

I trust that they are much more used to Swedish terms.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
MinHundHettePerro


Joined: 05 Feb 2009
Posts: 844
Location: SE

PostPosted: Sat 22 May 2010, 09:11    Post subject:  

nooby wrote:
I trust that they are much more used to Swedish terms.
Me, not really. In thirty years of computing, I've never had a Swedish-speaking computer. I've seen Swedish versions of OS's, of course, but always feel a bit lost then due to my lack of knowledge of Swedish computer terminology Shocked.

Anyway, as an act of resistance to the growing domination of the modern times' lingua franca (would that be lingua ingla nowadays?), here's my lame attempt at a translation into Swedish.

Please, nooby, or anybody else, proofread and correct any mistakes or strange formulations that you find Smile.

Cheers Smile/
MHHP
sv_SE.tar.gz
Description 
gz

 Download 
Filename  sv_SE.tar.gz 
Filesize  3.58 KB 
Downloaded  914 Time(s) 

_________________
Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285

Slackos & 214X, ... and Q6xx
Nämen, vaf.... ln -s /dev/null MHHP
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Sat 22 May 2010, 09:14    Post subject: DUTCH  

Translation to Dutch Smile
nl_NL.tar.gz
Description 
gz

 Download 
Filename  nl_NL.tar.gz 
Filesize  3.44 KB 
Downloaded  882 Time(s) 

_________________


Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Sat 22 May 2010, 09:22    Post subject:  

MHHP, Bert..

Outstanding response Smile

Thank you

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Iguleder


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

PostPosted: Sat 22 May 2010, 09:29    Post subject:  

I can help translate Quickpet to Hebrew, but I have 2 questions first:
- Will anyone find that usefull? Just a waste of space?
- Does Quicket/GTKDialog support BiDi/RTL/whatever you call it?

_________________
My homepage
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Sat 22 May 2010, 09:39    Post subject:  

Iguleder wrote:
I can help translate Quickpet to Hebrew, but I have 2 questions first:
- Will anyone find that usefull? Just a waste of space?
- Does Quicket/GTKDialog support BiDi/RTL/whatever you call it?


1) Someone will find it useful I'm sure. (Do you see "Who's online" in the forum stats? Usually 10 times more than the "registered" users. Good chance there is someone who will find Hebrew useful Wink )

2) I don't know. I suppose it depends on Fribidi.. a lib that supports RTL. (as you probably know)

I know that I compiled JWM for Lupu without fribidi, but I can fix that. Gtk-dialog is a different kettle of fish. I will get back to you.

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Iguleder


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

PostPosted: Sat 22 May 2010, 10:31    Post subject:  

It seems that all the tools used by Quickpet are not UTF-8 capable. Yafsplash and all dialogs display giberish, but Quickpet itself plays nice ... should I translate only things that appear in Quickpet's dialog?

EDIT: here it is. Looks like crap, some strings are messed up (numbers or text in other languages are moved) and the splashes don't work at all. Pure giberish. Another problem is the OK button, it's not localized.
qp.png
 Description   
 Filesize   46.69 KB
 Viewed   6943 Time(s)

qp.png

he_IL.tar.gz
Description 
gz

 Download 
Filename  he_IL.tar.gz 
Filesize  3.49 KB 
Downloaded  903 Time(s) 

_________________
My homepage

Last edited by Iguleder on Sat 22 May 2010, 13:07; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
MinHundHettePerro


Joined: 05 Feb 2009
Posts: 844
Location: SE

PostPosted: Sat 22 May 2010, 11:31    Post subject:  

With the localisation file encoded in UTF-8, GTK displays the text properly, while Xmessage/Yaf-splash display strange codes in place of the three non-ASCII Swedish letters.

OTOH, with the localisation file encoded in 8859-1, Xmessage/Yaf-splash display the text properly, while GTK replaces ÅåÄäÖö with nonsensical scribblings.

Is it possible to have the text that's relayed to Xmessage/Yaf-splash in a separate file, which could then have a different encoding Confused?

Confused/
MHHP

_________________
Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285

Slackos & 214X, ... and Q6xx
Nämen, vaf.... ln -s /dev/null MHHP
Back to top
View user's profile Send private message 
MinHundHettePerro


Joined: 05 Feb 2009
Posts: 844
Location: SE

PostPosted: Sat 22 May 2010, 12:12    Post subject:  

Gibberish in gxmessage output might be solved by adding -encoding UTF-8 to the gxmessage lines of /usr/local/quickpet/quickpet.sh. Haven't tried it in lupu yet, am again away in another puppy, in which preliminary tests indicate that this could be part of the solution. Will try in lupu later this evening ...

Hth Smile/
MHHP

_________________
Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285

Slackos & 214X, ... and Q6xx
Nämen, vaf.... ln -s /dev/null MHHP
Back to top
View user's profile Send private message 
Iguleder


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

PostPosted: Sat 22 May 2010, 13:07    Post subject:  

I tried to change the encoding, no encoding works. The gxmessage thing doesn't work either.

I think Hebrew is more problematic, I think it's a BiDi issue that causes the giberish. Let's hope we can figure out something generic for all languages.

_________________
My homepage
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Sat 22 May 2010, 18:45    Post subject:  

Iguleder

Thanks for your efforts..

Does the Xdialog work? The only instance is with the Drivers when you install one. If it does work I can change all splashes and help messages to Xdialog. Gtk-dialog is a bit heavy for all the splash screens and would slow down a ram/chip challenged machine for sure.

Unfortunately yaf-splash is quite old, and obviously not compiled against Fribidi. Same with xmessage.

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 10 [148 Posts]   Goto page: 1, 2, 3, ..., 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:  

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.0811s ][ Queries: 12 (0.0042s) ][ GZIP on ]