Hi, I search the translation of checkout and checkout e-mail modules in italian. When I install the plugin it seem the translations are available:
"Deposito della Comunità: versione 0.4.0 (build 1648)
Per questo plugin sono disponibili i seguenti pacchetti di lingua
Deutsch versione 1647
Español versione 1579
Français versione 1609
Italiano versione 1579"
But when I install the plugin, in modules/checkout/po there is no translations files and the site remain in english even if the preferred language is italian.
I have spent so much time searching to find this files! Now I m desperate. Someone can help me?
Thank a lot
andy
Posts: 4338
The way languages are downloaded in 2.3 seems to have changed, perhaps it's buggy or causing problems. What do you see when you go to "Admin Options" -> "Language settings" ?
Incidentally, the important files are not in checkout/po - the important files are checkout/locale/<language_code>/LC_MESSAGES/module_checkout.mo - are they present in your installation?
These are the ones that should be included, if you have the languages activated:
Posts: 17
Hello Alecmyers,
sorry if I posted twice but I thought that the other post was more relevant.
Anyway...
Thanks for the answer. Yes, the files you in indicate are included in the correct location.
In Language settings I have Italian as default without "control preferences browser" enabled. The language package seems to be all installed (the chosen one).
I tried to flush cache, and optimyze database than logout and view from another browser: nothing, I alwais see "view cart" and others info in english.
Thank for your help
Andy
Posts: 4338
Personally I think the changes to the language manager that were made in 2.3 are broken. Gallery core is responsible for copying the relevant language files from the modules/<module>/locale/... directories to g2data/locale/.... from where they're loaded by the gettext extensions. But the gallery team aren't interested in working on 2.3 at the moment as they are writing Gallery3, and I don't have the time to investigate the module installation process to see if it is a problem with the core or with checkout.
You could try manually copying the contents of checkout/locale/.... into g2data/locale/... and see if that gets the languages to appear.
EDIT: Oh, you will also find that the Italian translation is *way* out of date (which may be the root of the problem) - I don't think anyone has updated it in the last couple of years, and all the text has changed since then, which means you'd see the English.
The German and Dutch languages are the most up-to-date.
Posts: 17
Thank,
I tried your hack but i can not copy the file in the g2data/locale/... because of ownership (server replay error -160). I will try tomorrow again after tryin change permissions and ownership, maybe this is the problem.
Posts: 17
Not easy to do, ownership of LC_MESSAGES folder are set as apache:apache and I'm unable to change them to copy the files.
I can even nor change the string.raw in module/chekout/po location because a -160 permission error. Here too the folders ownership are apache:apache.
Maybe I have to ask my server to change ownership... but after houers of problems I have no more hope this will solve the problem.
mmmmmm annoyng situation I have make a new install of 2.3 over a 2.2 because I thougt then I was able to install the language... 2 days spent for nothing...
anyway, thank a lot for your help, maybe I've to wait for G3...
greetings
Andy
Posts: 4338
If you don't try, you'll never know.
Posts: 17
Now I could load modules in g2data/locale/it/LC_Messages/
To do this I installed a php file manager module (1 single file) on my server and I could change the permission to access folder owned by apache.
Module checkout email is now in italian (just a couple of things still in english, I think I have to edit the file I loaded manually to add this translations). Checkout module still remain in english even after cache flush. Probably I will continue triing: I will post the results.
Posts: 17
OK, now, like the checkout e-mail module, the checkout module work in italian (maybe it was only a session timout problem) but, like alecmyers says the translation is out of date and many string (the fuzzy ones) remain in english.
After many difficulties to follow the localization instructions at http://codex.gallery2.org/Gallery2:Localization, I downloaded Poedit and could compile the .mo file to upload... not without difficulties.
Now, at the end of this odissey, it is all more clear: to update a localisation, just found the .po corresponding file, complete and correct it with poedit o similar programs, save (it will automatic save a compiled copy as .mo) and upload in g2data/locale/"yourlanguage"/LC_MESSAGES/ with the correct name. If you have problems editing because permissions I suggest you to use a php file manager module, I used the one you can download here (http://phpfm.sourceforge.net/) but it seems there are many.
Now I've translated only what the customer see in my site and no more because I can esily use english in my admin pages but I will try to complete the translation.
Hope this could be useful for someone and thank alecmyers for your help
Andrea
Posts: 4338
If you send me the it.po file (or whichever langaguages) when finished, I'll include it with the distribution.
Posts: 17
Ciao,
I found time to translate the modules in italian.
I attach:
checkout email.zip: po and mo localization for checkout-email module
checkout.zip: po and mo localization for checkout module
checkout paniere.zip: po and mo localization for checkout module using "paniere" instead of "carrelo" (cart)
Have a nice day and thank for help
Andy
Posts: 222
Hi maiaradis
I'm experiencing the same problem: For the checkout-module all the mo-files are missing. From where can I copy these files?
Rgds to Ticino from Zurigo/DiZin
______________________________________________________________________
I'm still trying to discover all the endless capabilities of Gallery2.
Thanks to the development team
Posts: 222
SOLVED
By chance I rebuild the repository listing today in site admin. Then I saw that a new build of the checkout module including language packs is available. Download, install, deleting caches, test: The module switches the language between English and German at random intervals ;-)
I hope, this will disappear over time!
______________________________________________________________________
I'm still trying to discover all the endless capabilities of Gallery2.
Thanks to the development team!
Posts: 4338
That's interesting, but the language packs for checkout have always been available, going back three years at least. I'm glad it works (except for the random translations) but I really have no idea why the download problems.
Posts: 666
HI alecmyers
I'd would like to update the German version for the checkout language pack but I haven't found out where I can get the .po-files (BTW: I'm using Windows with poEdit).
*Edit*: Just found it. The work on it will start now ;-)
___________________________________________________
Top Secret: Tipps, Tricks und mehr
The Most Secret Gallery2 Treasure: Quick Start Guide
Posts: 666
In the checkout module .po files are many strings missing and sometimes the German translation is missleading. Right now im translating the current version and will post it here. When this is done I'd like to get a new, complete .po file, also for all other checkout*-modules. Is there anybody capable of generating new .po files?
PS: I like these modules!
___________________________________________________
Top Secret: Tipps, Tricks und mehr
The Most Secret Gallery2 Treasure: Quick Start Guide
Posts: 4338
It depends what you mean by "up to date".
For checkout, the raw strings are all up to date, in all included po files (I updated them myself for the latest new features, including option sets, accessories etc).
Of course the translations need to be updated, and part of the process of translating means removing old strings that are no long in the checkout module. These are marked in the po files and should be removed by the translator.
I do include where possible (and where I remember!) the po files that I've recieved in the interim, but it's hard to keep them 100% in step. If I get some more translations in the next few days, I'll update the repository with the latest translations that I have. Obviously I can't comment on misleading translations as I'm not a speaker of any of the languages included as translations.
When I've done that, I'll go through the other checkout modules, one by one and make sure the languages are correct. If you want to, you're welcome to generate your own .po files in the mean time, the procedure for which is here:
http://codex.gallery2.org/Gallery2:Localization
Posts: 666
Don't worry: That's why I do the job for you ;-)
The page you made a link to I read many times. Besides getting poEdit it didn't help me much (I'm sorry for being a Windows user, but if there is an OpenVMS version available ... ;-))
And there is no need to hurry because I started at 82% and right now I'm at 86% for the checkout configuration page and I'm still learning how this great module is supposed to work!
___________________________________________________
Top Secret: Tipps, Tricks und mehr
The Most Secret Gallery2 Treasure: Quick Start Guide
Posts: 4338
ok cool. Let's get checkout itself up to date first, then we'll work on the other modules. You should be good to go to sort out the other .po for that module files. I can compile them when we're all done.
Then we'll move on to the others.
Posts: 1
i've got the same problem. did you find any solution to solve this bug yet?
Posts: 222
@B4rT
Solved! It disappeared over time, therefore I guess it's a gettext caching problem.
______________________________________________________________________
I'm still trying to discover all the endless capabilities of Gallery2.
Thanks to the development team