I followed this tutorial to create custom metaboxes.
It seems like qtranslate enables you to use shortcodes almost everywhere.
For example:
Post titles:
<!--:en-->Cheng Feng Enterprises<!--:--><!--:zh-->éå³°ä¼æ¥<!--:--><!--:es-->Cheng Feng Compania<!--:-->
Widgets:
[:en]My name is Alex Chen.
I provide Spanish-English-Chinese
translation services in Taiwan.
<a href="mailto:alex@alexchen.info"><strong>I'm available for hire</strong></a>.
[:zh]æçååæ¯äºæ·é³ã
ææä¾è¥¿ççèª - è±èª - ä¸å
å¨å°ç£çç¿»è¯æåã
<a href="mailto:alex@alexchen.info"><strong>æå¯ä¾ç§ç¨</strong></a>.
None of these methods work for custom metaboxes.
Has anyone successfully integrated qtranslate with custom metaboxes?
then enter your custom field data using the qtranslate comments:
In the output of your metabox in the page you want this to appear in you should wrap it in
__()
.Maybe something like this: