Checkout plugins don't contain strings.raw to make po file?

smilem

Joined: 2009-02-25
Posts: 118
Posted: Fri, 2009-10-23 23:51

I downloaded the full devel gallery2 gallery-2.3-developer.zip
but it does not contain po files for

checkout
checkoutemail
checkoutpaypal
checkoutpdfinvoice

I tried to rename the strings.raw to po file and then open it in poEdit but it did not work.

How do I change the format so I open it in poEdit?
I read the http://codex.gallery2.org/Gallery2:Localization
But did not find any info strings.raw files.

I use WinXP and poEdit.

Thanks.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2009-10-24 16:39

All of those modules were developed by a 3rd party and are part of the community set of plugins. I'll move this topic and rename the subject so you'll have a better chance for the developer to see your post and be able to reply better than I can :)

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2009-10-24 20:49

He means me... :-)

smilem: the po files are included if you download the module(s) from the "get more plugins page". After editing the po files you have to compile to get new .mo files. Respond in this thread if you can't get them installed.

EDIT: actually, it's always worth making sure the .po files are up to date: you'll fine more info here:
http://codex.gallery2.org/Gallery2:Localization

 
smilem

Joined: 2009-02-25
Posts: 118
Posted: Sat, 2009-10-24 21:34
alecmyers wrote:
He means me... :-)

smilem: the po files are included if you download the module(s) from the "get more plugins page". After editing the po files you have to compile to get new .mo files. Respond in this thread if you can't get them installed.

EDIT: actually, it's always worth making sure the .po files are up to date: you'll fine more info here:
http://codex.gallery2.org/Gallery2:Localization

Well we a have sort of a misunderstanding here. I installed the modules:

checkout
checkoutemail
checkoutpaypal
checkoutpdfinvoice

By unsing G2 Get more modules interface. No PO files were downloaded.
Then I installed EN_GB langue pack.

checkout
Currently Installed: version 0.4.3 (build 1838)
The following language packages are available for this plugin
English (UK) version 1787 (currently installed)

So I'm translating this module from EN_GB po file.

The other modules: checkoutemail, checkoutpaypal, checkoutpdfinvoice
No compatible language packages available

So I have no po files for them. How can I get them so I translate those modules?

Thanks.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2009-10-24 21:52
Quote:
The other modules: checkoutemail, checkoutpaypal, checkoutpdfinvoice
No compatible language packages available

These modules haven't been translated into all languages. There's no en_GB because there's no difference between British English and US English for these modules.

There is an en_GB translation for checkoutdownload however, as well as an fr translation and a de translation for the modules that you list. To get the po files you'll probably have to install those languages and update.

There were also *huge* changes to the language system betwen G2.2 and G2.3, and there's no documentation about the new ways it's supposed to work. So much of what I know is trial and error.

If you want to download any of the po (or other) files directly, you can of course get them from the Sourceforge repository:
http://gallery-contrib.svn.sourceforge.net/viewvc/gallery-contrib/trunk/gallery2/modules/

I recommend you compile a new po file for which ever language you want, using the info in the codex link in my last post, to guarantee that you have all (and only) the strings in the modules in question.

If you send me the .po files when you're done I'll incorporate them into the module distributions.

 
smilem

Joined: 2009-02-25
Posts: 118
Posted: Sun, 2009-10-25 00:43

The link does not provide step by step instruction how to compile the po files only that full devel version is needed.

I wonder why if modules I need are not there?

THe link provides infor on how to translate po files under linux with XEmacs with MULE. Not a word about compiling.

Furthermore I think I need these programs:

gettext
http://www.gnu.org/software/gettext/
gmake (or make)
http://www.gnu.org/software/make/make.html
php binary
http://php.net
perl
http://perl.com

I tried the SVN link http://gallery-contrib.svn.sourceforge.net/viewvc/gallery-contrib/trunk/gallery2/modules/

But the po files seem to be very outdated, some text is missing from them. I searched using google for checkoutemail/po/NL_NL.po

And by some luck I found some sites now I have a few different versions and try to put workable version using wordpad and 4 versions of this po file I found. Not the best way trough.

But they are for linux not windows XP. I don't know how to compile in linux.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sun, 2009-10-25 00:55

There is already a Dutch (nl.po) translation for checkout, checkoutemail and checkoutpaypal (and the others) - all up-to-date the last time any of the text changed, which was six months ago or more. You don't need to search on the internet or compile anything, just install the Dutch language and update the language packs. The translations will download automatically. There's no work to do, it has already been done for you.

By the way there's no need to translate checkoutpdfinvoice as it has no customer-facing text that uses the gettext system. You can translate the pdf master file yourself, no need for po files.

 
smilem

Joined: 2009-02-25
Posts: 118
Posted: Sun, 2009-10-25 14:10
alecmyers wrote:
There is already a Dutch (nl.po) translation for checkout, checkoutemail and checkoutpaypal (and the others) - all up-to-date the last time any of the text changed, which was six months ago or more. You don't need to search on the internet or compile anything, just install the Dutch language and update the language packs. The translations will download automatically. There's no work to do, it has already been done for you.

By the way there's no need to translate checkoutpdfinvoice as it has no customer-facing text that uses the gettext system. You can translate the pdf master file yourself, no need for po files.

I think this file does not contain admin portion af text does it?
The file I found using google is attached is not right?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sun, 2009-10-25 13:36
 
smilem

Joined: 2009-02-25
Posts: 118
Posted: Sun, 2009-10-25 14:12

Here is the file that i used

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sun, 2009-10-25 17:31
Quote:
Here is the file that i used

Don't use that file then.
From the file you post:

Quote:
"POT-Creation-Date: 2005-11-07 14:14+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"

From the file in the repository:

Quote:
"POT-Creation-Date: 2007-07-11 17:52+0200\n"
25 "PO-Revision-Date: 2009-04-23 00:05+0100\n"

 
smilem

Joined: 2009-02-25
Posts: 118
Posted: Tue, 2009-10-27 20:11

Thanks, them I'll use the more recent file.