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 |
|
oceco
Joined: 2007-10-22
Posts: 666 |
Posted: Tue, 2009-09-29 18:57 |
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! Hope this helps! Good luck!/oceco PS: Please share your fr.po-files with the Gallery2-community afterwards! |
|
alecmyers
Joined: 2006-08-01
Posts: 4342 |
Posted: Wed, 2009-09-30 01:47 |
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/ 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. |
|
Jiheffe
Joined: 2009-07-19
Posts: 14 |
Posted: Wed, 2009-09-30 06:02 |
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". Quote:
Actuellement installé : version 0.4.3 (build 1838) (I don't know how to pull the French version from the repository?) Can anyone help? JF Quote:
URL de Gallery = http://www.jfschmitz.net/gallery2/main.php |
|
rant
Joined: 2006-01-17
Posts: 6 |
Posted: Wed, 2009-09-30 08:01 |
Iam having the same problem with german language |
|
alecmyers
Joined: 2006-08-01
Posts: 4342 |
Posted: Wed, 2009-09-30 08:15 |
Quote:
(I don't know how to pull the French version from the repository?) 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. |
|
Joda
Joined: 2009-09-28
Posts: 2 |
Posted: Wed, 2009-09-30 08:19 |
Thanks to all for your response ! -> alecmyers 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 ? |
|
Jiheffe
Joined: 2009-07-19
Posts: 14 |
Posted: Wed, 2009-09-30 15:45 |
alecmyers wrote:
Woops... Whathever I try to do, I get the following error: Quote:
Error (ERROR_BAD_PATH) : Failed to download packages: "". 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 Quote:
Disallowing again those connections, brings up again the other error message... |
|
rodeo_fly
Joined: 2008-08-12
Posts: 1 |
Posted: Wed, 2010-03-31 13:52 |
This post should be move to translation issues. Quote:
Make sure that the file modules/checkout/locale/fr/LC_MESSAGES/modules_checkout.mo is copied to g2data/locale/fr/LC_MESSAGES/ 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 ! |
|