ZenphotoCMS Forum
help in transtalion - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Translating (https://forum.zenphoto.org/forum-8.html)
+--- Thread: help in transtalion (/thread-2892.html)

Pages: 1 2


help in transtalion - yosol - 17-05-2008

HI
i'm interesting to translate the zinphoto gallery to arabic langauge
i have tray to do all setup but i have problemes
i give you all wat i have do
1/i have download wamp and was installed
2/i have download and install poedit
3/ i have put the zenphoto folder in c:/wamp/www/ path
4/i open poedit and to the instruction in 6 setp and i havn't any solution
is the setup i do is write or i should install znphoto?




help in transtalion - acrylian - 17-05-2008

Actually that should work, as long as the zenphoto folder is below Poedit in the folder hierachy.




help in transtalion - rumba - 22-06-2008

I have the same problem.




help in transtalion - acrylian - 22-06-2008

Actually you don't need to have a localhost server with a running install, what of course helps testing the translation.
The base path for poedit in step 6 should be in this case "/wamp/www/path/" and the other field should contain simply "zenphoto".

Poedit must always be located on the same level or above the folders to parse, since the paths are relative.So in this example Poedit must be located and run from "c:/poedit".

To illustrate it in more detail: The windows version might be different but on Mac it works this way:
Zenphoto install: /Applications/MAMP/htdocs/zenphoto (Macs don't have a c:/)
Poedit: /Applications/Poedit

Also working for me is:
Zenphoto install: /Applications/zenphoto
Poedit: /Applications/Poedit

I hope that helps. I will add that details to the tutorial.




help in transtalion - rumba - 24-06-2008

It didnt work for me.
I have poedit on: C:\Program Files\poEdit
I have zenphoto on: C:\Program Files\zenphoto

I try to use relative path: \zenphoto\zp-core\locale\he_IL\LC_MESSAGES\
and got the same error




help in transtalion - acrylian - 24-06-2008

What error exactly do you get?

Sorry, actually that should work. This might be a specific Windows problem though, I have only a Mac, so I can't test it. I will see that one of my fellows using Windows dev will try it too.

Btw, you never need to link to the LC_Messages folder, you link to the folde(s) to parse.




help in transtalion - rumba - 24-06-2008

Is it possible to get the empty mo/po files? Without the German translation?




help in transtalion - acrylian - 24-06-2008

I could generate them, but you always would have to start from scratch for every new version of zenphoto if you want to maintain your language. Regarding updates it's recommended to do frequent update with the nightlies / svn version to not have to do them all at once. We change quite a lot around. Sure Poedit seems to have the ability to join files, but more convenient would be to parse yourself.

Anyway, this would be an escape from the problem. Would you mind to sign to our google translators group and ask there? For someone it actually seems to work somehow on none-Macs. If you don't want to, I can of course ask there, too.




help in transtalion - rumba - 24-06-2008

It's not the reason Im asking for a blank pot file. I can't see the % of lines that are already translated and the poedit can't separate the none-translated lines.




help in transtalion - acrylian - 24-06-2008

I understand what why you want the empty .po-file, but as a I said above that does not really elp solve the issue. It must work somehow to parse zenphoto and it does for some people.




help in transtalion - Vincent - 24-06-2008

What's the exact problem you've got with poedit?

This is how i configured it:
"C:\Users\Vincent\Desktop\zenphoto-2008-06-19-trunk\" as the base path
and then add "zenphoto" as a new relative path.

I'm working on windows (vista) and it works like a charm without stuff like wamp.




help in transtalion - rumba - 25-06-2008

The error is:
Can not enumerate files in directory 'zenphoto' (error 3: the system cannot fined the path specified.)
no files found in: zenphoto

printscreen of the error message:
http://www.joomlive.com/zenphoto-error.png

using all kind of paths like:
C:\Program Files\zenphoto\zp-core\locale\he_IL\LC_MESSAGES
C:\Program Files\zenphoto
C:\Program Files\
\Program Files\zenphoto\
\Program Files\zenphoto\zp-core\locale\he_IL\LC_MESSAGES

...
I have used all the combinations of paths there is and still getting this error.
windows XP




help in transtalion - acrylian - 25-06-2008

You never should link to the LC_MESSAGES folder or the po/mo files, there is of course nothing to parse, so this won't work.

I know that error, this means that the path is simply not set right and Poedit does not find the files to parse.

Just to be sure, did you enter that all only into the base path field? That would be wrong, you need to split the path into a base path and the relative path.

Base path: C:\Program Files\
path below "zenphoto\"

This makes a huge difference, otherwise it does not work!




help in transtalion - rumba - 25-06-2008

OK... now i get it!
So I need to split the base path and the relative path.
I did that and I think that helped (!), only now I'm getting a differnt error:
21:23:48: Execution of command 'dxgettext --so "C:\DOCUME~1\erez\LOCALS~1\Temp\poeE33.tmp" "zenphoto/zp-core/lib-gettext/gettext.inc"' failed (error 2: the system cannot find the file specified.)
21:23:48: Cannot execute program: dxgettext
21:23:48: Entries in the catalog are probably incorrect.




help in transtalion - acrylian - 25-06-2008

Ok, I will add that with the base path and the relative one to the tutorial to make that really clear.

You get that error when you are trying to parse the files? This Poedit error I have never seen. I have no idea, that file does not need to be parsed at all and it never did cause any errors for me.




help in transtalion - acrylian - 25-06-2008

Do you still have Poedit and the zenphoto folder within the same folder? I think I got that error when I had Poedit within a subfolder and the zenphoto folder was outside of that.




help in transtalion - rumba - 26-06-2008

Yes, Poedit is in C:\Program Files\




help in transtalion - acrylian - 27-06-2008

Then please try putting the zenphoto folder to C:\Program Files\zenphoto. At least this is what fixes it for me on the Mac. I had a hard time to figure that out. Even if its working for Vincent above and one of my fellow developers.

Be sure that Poedit is configured to use the standard gettext() function (should be default, but well).

Also if you haven't yet, please sign into the google translation group. Most likely someone can help you there.




help in transtalion - rumba - 27-06-2008

Like I wrote here before, I have zenphoto under Program Files

poedit on: C:\Program Files\poEdit
zenphoto on: C:\Program Files\zenphoto

Thanks for the help, I will try to find solution on the Google translation group.




help in transtalion - acrylian - 27-06-2008

Sorry, I forgot to reread the beginning of the thread. It must work since one of our developer did try it successfully on windows just yesterday. Maybe something else is somehow not configured right in Poedit, even if hte defaults should work fine. See you on the group.