How to get a multilanguage string processed
-
I am a plugin developer and i want to know what i have to do to get a multilanguage string translated.
Example: My string is:
$str = '{:en}This is a dog{:}{:nl}Dit is een hond{:}';
I expect (parallel to how qTranslate-x works) that:
echo __( $str );
prints the string in the currently selected language, but it prints the string raw as it is.What do i have to do to get this working?
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘How to get a multilanguage string processed’ is closed to new replies.