ZenphotoCMS Forum
Selecting Dutch and French locale languages - 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: Selecting Dutch and French locale languages (/thread-12739.html)



Selecting Dutch and French locale languages - itouch - 28-05-2015

Hello,

I have a problem with selecting locale languages Dutch and French. Input fields are disabled though it is supported.

List of locales where I can't select Dutch and French. Only English is clickable.
http://oi58.tinypic.com/2w3dw86.jpg

List of supported locales:
http://oi58.tinypic.com/2gujvxt.jpg

I have also downloaded latest locale files from github.

How can I select Dutch and French?

Sincerely,

Itouch




Selecting Dutch and French locale languages - acrylian - 28-05-2015

If the locales are supported and gettext support is installed on the server it should work. Any errors in the logs?




Selecting Dutch and French locale languages - itouch - 28-05-2015

locales are supported -> check image in 1st post.

gettext wasn't supported. But nothing changed after I've added this.

http://oi59.tinypic.com/f5c51h.jpg

Nothing showed up in error logs.

But I can select English language, because it doesn't have a 'LC_MESSAGES' directory.

Or do I need to change the permissions of files or directories?




Selecting Dutch and French locale languages - acrylian - 28-05-2015

English is the default/native language so that is always available. If permissions were an issue you should get an error about that. Sure the server is really properly configured (just asking …)? No other idea right now.




Selecting Dutch and French locale languages - itouch - 28-05-2015

Yes server is properly configured.
Locales are supported and gettext is supported.

I've debugged admin page and I've seen that both languages get '1' at this line 'if (getOption('unsupported_' . $dirname))'

It doesn't work because of that. But I'm sure that I have added locale support...

To be sure I took a screen from the server:
http://oi62.tinypic.com/bgw8pc.jpg




Selecting Dutch and French locale languages - itouch - 28-05-2015

Okey I have fixed it.

in Options table, I had to change following columns from '1' to '0':
unsupported_nl_NL
unsupported_fr_FR

Thank you for support!




Selecting Dutch and French locale languages - acrylian - 28-05-2015

Ok, probably re-running setup after enabling things on the server would have fixed this. Sorry, forgot to mention since I am used to do that …




Selecting Dutch and French locale languages - Michel Gagnon - 01-06-2015

Although not directly related to the problem above, there might still be a few missing strings in the French translation. I am almost positive that version 1.4.7 was pushed on the server some time ago and I will soon work on the few strings that have been modified since then.