qTranslate with my own theme and settings

Basically I have my own theme and my own settings page. In that settings page I have a textfield which contains a Welcome Text to show at the top of the website.

Now, I want this theme to works with qTranslate. To make the content of this textfield multi-language, it would be easy just to let the user add the qTranslate tags by himself within it.

Read More

However, internally, while I’m rendering the Welcome Text, which function of qTranslate should I call? It would be perfect if I could pass to it only the text (with the tags) in argument, and depending on the current language qTranslate would give me back the right part of the text.

Thanks a lot for your help 🙂

Related posts

Leave a Reply

1 comment