![]() |
|
multiple .mo files used on one page for gettext - 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: multiple .mo files used on one page for gettext (/thread-5559.html) |
multiple .mo files used on one page for gettext - DrSlony - 28-07-2009 Hey My ZenPhoto theme optionally uses the Polish translation, but I also use my own strings that need translating. What is the best way of being able to use my own strings and not have to worry about lots of work on every ZenPhoto upgrade? Is it possible to use two different locale files so that I can gettext my own strings and also the default ZenPhoto ones? multiple .mo files used on one page for gettext - acrylian - 28-07-2009 Yes and no. You can use the But that has a big disadvantage as this will then not translated the normal zenphoto strings as these are in an other domain. This is a conflict we could not solve. The best is to use the polish translation and add the strings from your theme by just parsing the installation with your theme installed. This way you get a custom translation. Or you join the separate translations. See the translating tutorial: multiple .mo files used on one page for gettext - DrSlony - 28-07-2009 Ok, merging the two doesn't seem too hard even with regular ZenPhoto updates. Thank you for the quick reply Acrylian! |