[EventCalendar] EC3 + qTranslate

ecir hana ecir.hana at gmail.com
Sat Mar 21 18:05:17 UTC 2009


On Sat, Mar 21, 2009 at 6:01 PM, Marc Boivin <mjsdesign at gmail.com> wrote:
> EC3 uses the built-in translate functions to handle localization. This means
> that it will display in the current language -- like you said, the wplang
> setting-- not the language of the post.
>
> Maybe you could fiddle around changing the local on the fly. But that would
> require some programming.
>
> If you feel up to the challange check out the l10n.php file from
> wp-includes. It has everything you need. You could create a EC3-qTranslate
> support extension. It would check if the qTranslate extension is loaded, if
> so, override the current locale while rendering the calendar and setting it
> back to default when done.
>
>

Also I just noticed that qT emits the correct "lang" attribute in
xhtml, maybe that could be of some use as well....



More information about the EventCalendar mailing list