![]() |
|
Bilingual gallery - 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: Bilingual gallery (/thread-5539.html) |
Bilingual gallery - Ecir Hana - 2009-07-26 Hello, I'm in need of creating a gallery in two different languages. It seems, that the only way to go is to have two separate installations of ZP, is this correct? I mean, two different folders for the two languages? That would be ok. What about the db? I assume, every ZP install has to have separate "$conf['mysql_prefix']" as well, right? I know this was discussed here already but it was one year ago, I'm wondering if it still applies: Thanks in advance.... Bilingual gallery - sbillard - 2009-07-26 Zenphoto is multi-lingual. There are several aspects of this. First there is the Zenphoto standard themes, functions, and admin pages. For these you need translation files. We have some volunteers who have been providing same, so you can look at the locales folder to see what language translations have been made. If what you want is not here, someone (you?) will have to do the translations. There is a tutorial and forum for translations should you need to go this route. Second, custom themes may be made translatable, but of course, no such translations will have been provided with the Zenphoto distribution. See the tutorial/translator's group if you need custom theme translations. Third, there is individual text strings that are part of your image and album data. For these you will need to enable the Your users can view the translated pages two ways. By far the prefered is for them to have properly configured browsers which declare their prefered language. Zenphoto will select that language so long as it is one that has translations provided. If this is not working, you can enable and use the Bilingual gallery - Ecir Hana - 2009-07-26 Thanks, that's exactly what I'm looking for! Even that "dynamic-locale"! One more questions: Thank you very much once more, this is just great! Bilingual gallery - sbillard - 2009-07-26 You can disable languages buy removing them from the installation. Just delete their folders from the You cannot add extra languages without adding a language folder set to the Bilingual gallery - Ecir Hana - 2009-07-26 Perfect! And just for the record: if you get an error that your server doesn't support your locale, like this: |