Language of Checkout module
Joda
Joined: 2009-09-28
Posts: 2 |
Posted: Tue, 2009-09-29 14:27 |
Hi everybody, I'm using gallery2 as a pre-installed module of my web host ! (OVH : http://www.ovh.com) In Gallery2, I can change my language to FRENCH with no problems ! I've installed the checkout modules, via Gallery2 composants as it is explain in the official documentation. I've got everything installed and it's working really nice, excepted the language. It's in English ! On the server, I've looked into the "www\modules\checkout\" directories and I've found a 'fr.po', 'locale\fr\LC_MESSAGES\...' with all the translated sentences. Is anybody knows where the change the default language ? thanks to all |
|
Posts: 666
Hi
have you checked http://codex.gallery2.org/Gallery2:Language_Settings and http://codex.gallery2.org/Gallery2:FAQ#I_changed_the_language_but_nothing_happens.2C_what.27s_wrong.3F? Beside the fr.po files are there also the 'compiled versions' fr.mo? The later are used by gettext and are cached. When you reupload changed .mo-files you have to clear the gettext-cache by restarting the webserver!
After I wrote all that I checked on my Gallery2-installation the checkout module: even when I changed my account setting to fr the configuration page for the checkout module in site-admin -> extensions remained in English. For me that's an indication that this particular page was not translated so far. I remember I had the same issue when I wanted to use these modules in German. I had to translate several pages and to complete/correct several others. After two hard days of work I translated everthing and the many configuration settings/options were set according to to my requirements. There are a lot of customization options depending on your product portfolio (e.g. T-shirt with the foto printed on the front or back) and therefore the chance is high that you will have to modify the language files anyhow.
To translate/modify the en.po-files to fr.po-files you will need e.g. the poEdit (search Gallery2-documention for poEdit). When you save your modifications it will also create the fr.mo-files.
Hope this helps!
Good luck!/oceco
PS: Please share your fr.po-files with the Gallery2-community afterwards!
__________________________________________
Für Support folgende Infos posten:
Site-Admin -> Wartungsaufgaben -> System-Info und Link zu phpinfo()
Posts: 4342
I'm the module's current maintainer.
Make sure that the file modules/checkout/locale/fr/LC_MESSAGES/modules_checkout.mo is copied to g2data/locale/fr/LC_MESSAGES/
That should be automatic when you install the French language pack, but there have been ongoing annoying problems with getting the language support to work for this module.
You'll also note that the French translation is somewhat out of date. If you want to fix up the fr.po file in modules/checkout/po then I'll update the module to include it.
Posts: 14
Hi, I just came across this post, and just curious to know where you did find the French localisation?
I have Gallery2 set up with French as default language, using the X_treme theme. I downloaded and installed the checkout modules using the administration interface in G2.
Although French seems to be available as a package (but with a different revision number), I can't make up how to activate it! I looked in "gallery2/modules/checkout/po" but I can only find two files there, "GNUmakefile" and "strings.raw". There is no "locale" folder in modules/checkout and gallery2/locale/fr/LC_MESSAGES only contains two files, "gallery2_install.mo" and "gallery2_upgrade.mo".
(I don't know how to pull the French version from the repository?)
Can anyone help?
JF
Posts: 6
Iam having the same problem with german language
Posts: 4342
Go to Site Admin -> Language Settings, select "download" or "upgrade" against "French" in the left column in the table of languages, and hit "Save".
You should probably go to Site Admin -> Plugins -> Get More Plugins and activate the community repository option ("Show Repository List") then "Update Plugin List" first.
Posts: 2
Thanks to all for your response !
-> alecmyers
It works, modules_checkout.mo wasn't into the g2data/locale/fr/LC_MESSAGES/ directory !
95% of the text is now translate, I think it's what you call the "out to date version".
If you want help for the 5% missing, I can help you if you want !
We can talk about in private message ?
Posts: 14
Woops... Whathever I try to do, I get the following error:
I had several languages installed (by default?), including English (UK), French, Deutch, Nederlands, Italiano, and a couple more. As I hed above error whathever I tried to update one of those, I uninstalled them all, leaving me with only the default (and un-unistallable ;-) ) language English (US). Now whathever I try to redownload French, I get this error...
I understand a path is missing. But which one?
[Edit / Additional info]
When logging in on my web hosting control panel, I noticed that my hosting site blocked outbound connections to IP address & port 209.237.226.156:80, which resolves to www.gallery2.org. I configured it to allow those outbound connections, ans the error message changed to
Disallowing again those connections, brings up again the other error message...
Posts: 1
This post should be move to translation issues.
Thanks for the tricks I dig the Internet and was about to ask OVH what's the hell with gettext.
Solution was so simple!
So alecmyers I you want just tell me where and how update your french translation and I'll do it !
Tx again !