Pages (2): 1 2   
Member
Member
yosol   17-05-2008, 12:15
#1

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?

Administrator
Administrator
acrylian   17-05-2008, 17:39
#2

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

Member
Member
rumba   22-06-2008, 16:36
#3

I have the same problem.

Administrator
Administrator
acrylian   22-06-2008, 16:52
#4

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.

Member
Member
rumba   24-06-2008, 04:36
#5

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

Administrator
Administrator
acrylian   24-06-2008, 08:49
#6

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.

Member
Member
rumba   24-06-2008, 13:40
#7

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

Administrator
Administrator
acrylian   24-06-2008, 16:11
#8

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.

Member
Member
rumba   24-06-2008, 17:05
#9

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.

Administrator
Administrator
acrylian   24-06-2008, 18:18
#10

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.

Member
Member
Vincent   24-06-2008, 20:06
#11

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.

Member
Member
rumba   25-06-2008, 04:32
#12

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

Administrator
Administrator
acrylian   25-06-2008, 08:45
#13

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!

Member
Member
rumba   25-06-2008, 18:30
#14

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.

Administrator
Administrator
acrylian   25-06-2008, 18:33
#15

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.

Administrator
Administrator
acrylian   25-06-2008, 18:40
#16

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.

Member
Member
rumba   26-06-2008, 22:34
#17

Yes, Poedit is in C:\Program Files\

Administrator
Administrator
acrylian   27-06-2008, 08:17
#18

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.

Member
Member
rumba   27-06-2008, 11:39
#19

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.

Administrator
Administrator
acrylian   27-06-2008, 11:51
#20

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.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.