It is currently Wed Jun 19, 2013 10:04 pm

All times are UTC




Post new topic Reply to topic  [ 284 posts ]  Go to page Previous  1 ... 15, 16, 17, 18, 19
Author Message
 Post subject: Re: Zendo package manager (Version 1.5.2)
PostPosted: Thu May 28, 2009 11:04 pm 
Community Packager
Community Packager
User avatar

Joined: Sun Dec 30, 2007 10:51 pm
Posts: 839
Location: Valhalla
Alright, I will try go through it again and replace fragments with placeholders. You might want to hold off translating until I get that finished, as the .pot will be a bit different obviously. I have to work tonight so it won't happen yet today, but as soon as I can.

_________________
It is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring. --Carl Sagan


 Profile Send private message  
 
 Post subject: Re: Zendo package manager (Version 1.5.2)
PostPosted: Fri May 29, 2009 12:06 am 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Mon Sep 11, 2006 7:39 pm
Posts: 454
Location: Lyon, France
Arghh, already done, I just wait for posting the link in my previous message...
Btw, I think It will not take me too many times to modify it with the new .pot :)


 Profile Send private message  
 
 Post subject: Re: Zendo package manager (Version 1.5.2)
PostPosted: Sat May 30, 2009 6:06 am 
Community Packager
Community Packager
User avatar

Joined: Sun Dec 30, 2007 10:51 pm
Posts: 839
Location: Valhalla
I'm having a little trouble testing your translation file. I copied zendo.mo to /usr/share/locale/fr/LC_MESSAGES/ and then tried starting zendo with
Code:
LC_ALL=fr zendo
But it didn't work. I've never used anything except English translations, so I'm a little fuzzy on this, what did you do to get it working?

_________________
It is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring. --Carl Sagan


 Profile Send private message  
 
 Post subject: Re: Zendo package manager (Version 1.5.2)
PostPosted: Sat May 30, 2009 5:24 pm 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Mon Sep 11, 2006 7:39 pm
Posts: 454
Location: Lyon, France
I copied the file to /usr/share/locale/fr/LC_MESSAGES/
my locale is fr_FR@UTF8 so maybe you should use
Quote:
LC_ALL=fr_FR@UTF8 zendo

because the po/mo file is encoding in UTF8.


 Profile Send private message  
 
 Post subject: Re: Zendo package manager (Version 1.5.2)
PostPosted: Sun May 31, 2009 5:58 am 
Community Packager
Community Packager
User avatar

Joined: Sun Dec 30, 2007 10:51 pm
Posts: 839
Location: Valhalla
Thanks for that, it worked perfectly to allow me to start zendo with the french locale. The missing Mark All/Apply/Search buttons were a simple mistake, so that was an easy fix, they can be translated now. The largest problem was that the translated text wasn't being converted to UTF8 before it was added to a GTK widget, so that's why a lot of the text was missing. I just added my own gettext macro that converts to UTF8 automatically, and that fixed every single warning message. The reason no packages were displayed was another silly mistake on my part, but that works now.

One thing I'm not sure about is the libnotify message, as libnotify requires the message to be cast to a const gchar* C-style string, I don't know if the translation will 'stick' through that, or if the popup messages will be all garbled.

As far as msgid's that start with a blank line, I couldn't find any in this pot file. I just did
Code:
grep 'msgid ""' zendo.pot
and it only came up with the one line at the beginning of the file, which I think is an example or something.

I don't know about fragments, those will be pretty tough to track down. I looked for them in the source files but it was impossible for me to find even 1 that way, so I'll have to think of something else. Maybe just looking through the pot will be enough to see where the fragments are.

Test files are in the usual place:
http://zendo.naquadah.org/downloads/zendo.gz
http://zendo.naquadah.org/downloads/zendo.pot
The .pot file shouldn't have changed much, I don't think. The binary is quite different though.

_________________
It is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring. --Carl Sagan


 Profile Send private message  
 
 Post subject: Re: Zendo package manager (Version 1.5.2)
PostPosted: Sat Jun 06, 2009 10:19 pm 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Mon Sep 11, 2006 7:39 pm
Posts: 454
Location: Lyon, France
Done !!!
It works ok for me :) :)
Please test it :
http://enialis.net/~jrd/zenwalk/_misc/z ... ales/fr.po
http://enialis.net/~jrd/zenwalk/_misc/z ... s/zendo.mo (to copy to /usr/share/locales/fr/LC_MESSAGES/)


 Profile Send private message  
 
 Post subject: Re: Zendo package manager (Version 1.5.2)
PostPosted: Mon Jun 08, 2009 10:53 pm 
Community Packager
Community Packager
User avatar

Joined: Sun Dec 30, 2007 10:51 pm
Posts: 839
Location: Valhalla
Tested, works fantastic. I don't know French, but I went through every dialog I could to make sure none of it was in English, and checked the console for error messages.

I just finished taking out the fragmented sentences I could find and replaced them with placeholders (%s for string and %d for a number). That should make it more friendly for other languages, as you said.

Also, I added you to the Help->About menu, but I need to know how you want to appear there. Right now I just put "JRD", but I could put your real name if you wanted.

_________________
It is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring. --Carl Sagan


 Profile Send private message  
 
 Post subject: Re: Zendo package manager (Version 1.5.2)
PostPosted: Tue Jun 09, 2009 9:32 pm 
Master of the known universe
Master of the known universe

Joined: Fri May 16, 2008 2:44 pm
Posts: 1347
Location: Munich, Germany
I can do the german translation if you have an up-to-date pot-file for me. :)


 Profile Send private message  
 
 Post subject: Re: Zendo package manager (Version 1.5.2)
PostPosted: Tue Jun 09, 2009 9:44 pm 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Mon Sep 11, 2006 7:39 pm
Posts: 454
Location: Lyon, France
Cool :)

"JRD" is ok (shorter), thank you.


 Profile Send private message  
 
 Post subject: Re: Zendo package manager (Version 1.5.2)
PostPosted: Tue Jun 09, 2009 9:51 pm 
Community Packager
Community Packager
User avatar

Joined: Sun Dec 30, 2007 10:51 pm
Posts: 839
Location: Valhalla
Alright, this .pot file should be ready-to-go for translation, and the executable to test it.

http://zendo.naquadah.org/downloads/zendo.pot
http://zendo.naquadah.org/downloads/zendo.gz

JRD, your translation might need just a few tweaks now because of the new About page.

It would be great if you did a German translation too Shador, thanks.

_________________
It is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring. --Carl Sagan


 Profile Send private message  
 
 Post subject: Re: Zendo package manager (Version 1.5.2)
PostPosted: Tue Jun 09, 2009 11:39 pm 
Master of the known universe
Master of the known universe

Joined: Fri May 16, 2008 2:44 pm
Posts: 1347
Location: Munich, Germany
OK, thanks. I think I'll have finished it at the latestest on Sunday.


 Profile Send private message  
 
 Post subject: Re: Zendo package manager (Version 1.5.2)
PostPosted: Thu Jun 11, 2009 4:21 pm 
Community Packager
Community Packager
User avatar

Joined: Sun Dec 30, 2007 10:51 pm
Posts: 839
Location: Valhalla
Something sort of unexpected happened today, I got an email from somebody with a complete German localization for zendo. Unless anybody else has a translation they want to proffer quickly, I think I should probably release this tomorrow or so.

I'm terribly sorry for misleading you on the translation, shador, I just didn't see this coming at all. Hopefully you didn't waste too much time on it.

_________________
It is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring. --Carl Sagan


 Profile Send private message  
 
 Post subject: Re: Zendo package manager (Version 1.5.2)
PostPosted: Thu Jun 11, 2009 9:16 pm 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Thu Nov 20, 2008 9:08 pm
Posts: 468
Location: Israel
And how do you know it's not Shador? ;D
EDIT: Well, it's not him.

_________________
Zenwalk snapshot on ThinkPad T61


Last edited by SoleSoul on Fri Jun 12, 2009 6:23 am, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: Zendo package manager (Version 1.5.2)
PostPosted: Thu Jun 11, 2009 9:32 pm 
Master of the known universe
Master of the known universe

Joined: Fri May 16, 2008 2:44 pm
Posts: 1347
Location: Munich, Germany
Sparky wrote:
Something sort of unexpected happened today, I got an email from somebody with a complete German localization for zendo. Unless anybody else has a translation they want to proffer quickly, I think I should probably release this tomorrow or so.

I'm terribly sorry for misleading you on the translation, shador, I just didn't see this coming at all. Hopefully you didn't waste too much time on it.

No, problem fortunately, I didn't find the time to start yet. :)
I could proofread the german translation if you send it to me.


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 284 posts ]  Go to page Previous  1 ... 15, 16, 17, 18, 19

All times are UTC


 Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
 
cron