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 checkout 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 use WinXP and poEdit. Thanks. |
|
Posts: 16504
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
Posts: 4342
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
Posts: 118
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.
Posts: 4342
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.
Posts: 118
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.
Posts: 4342
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.
Posts: 118
I think this file does not contain admin portion af text does it?
The file I found using google is attached is not right?
Posts: 4342
The Dutch translation for checkout includes all the admin texts, yes:
http://gallery-contrib.svn.sourceforge.net/viewvc/gallery-contrib/trunk/gallery2/modules/checkout/po/nl.po?view=markup
Posts: 118
Here is the file that i used
Posts: 4342
Don't use that file then.
From the file you post:
From the file in the repository:
Posts: 118
Thanks, them I'll use the more recent file.