ZenphotoCMS Forum
How to use another language in the admin panel? - 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: How to use another language in the admin panel? (/thread-7154.html)



How to use another language in the admin panel? - ysun - 23-06-2010

Hello,

Is it possible to use another language in the admin panel while the site for public is in English?

Thanks!




How to use another language in the admin panel? - sbillard - 23-06-2010

Sort of. You can set the language selector to "HTTP Select Language". Then the language is taken from the browser's prefered language list. (Of course, only for those languages that have translations!) So your visitors would see Zenphoto in their perferred language and you would see it in yours.




How to use another language in the admin panel? - ysun - 24-06-2010

Thanks.

How about setting the Zenphoto for public is in English only while the admin page is in Chinese only? Or is there something like ...index.php?lang=cn in the link to define the language?

Thanks!




How to use another language in the admin panel? - acrylian - 24-06-2010

Yes, there is if you enable the seo_locale plugin.
http://www.zenphoto.org/documentation/plugins/_zp-extensions---seo_locale.php.html




How to use another language in the admin panel? - ysun - 24-06-2010

I am new to Zenphoto, could you give me more tips to make it work?

Thanks a lot!




How to use another language in the admin panel? - acrylian - 25-06-2010

It is explained on the link I posted.




How to use another language in the admin panel? - ysun - 26-06-2010

em...

Do I need to create seo_locale.php and filterLocale_load_request.php in zp-core/zp-extensions first? Sorry I have no idea how to follow that tutorial...




How to use another language in the admin panel? - sbillard - 26-06-2010

You need to create urls with the format

[quote]
The URL format is: mod_rewrite // else ?locale= Where is the local identifier (e.g. en, en_US, fr_FR, etc.)

[/quote]
so the link to your site for anyone would need to be /zenfolder/en_US/




How to use another language in the admin panel? - ysun - 09-10-2010

Thanks. But I still don't get it. Could you help me to locale below link to another language?

http://www.domain.com/zp-core/admin.php

Thanks!




How to use another language in the admin panel? - acrylian - 09-10-2010

On the options there is a selector for languages. The example above is for the website part only, not the admin.




How to use another language in the admin panel? - ysun - 12-10-2010

Thanks. So the admin page doesn't support other language difination in the address line?




How to use another language in the admin panel? - sbillard - 13-10-2010

That is correct, but the next release will allow you to set the language for each user. You can try it out by installing the nightly build as a test.