Help on translating a few words with xlanguage
-
I am using the xlanguage plugin to translate my posts (great plugin btw). But at this time i need to translate a brief descriptive paragraph that is harcoded in the header template.
I’ve tried the following and other things but i cant get it to work :
<?php if (function_exists('xlanguage_current_language_code') && xlanguage_current_language_code() == 'en') { ?> <p>bla bla</p> <?php }else{ ?> <p>bla bla</p> <?php } ?>
Any idea on how to make this work inside a template? thanks …
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Help on translating a few words with xlanguage’ is closed to new replies.