R
R
Romazii2015-06-10 00:08:20
PHP
Romazii, 2015-06-10 00:08:20

Multilingual site on wordpress?

Hello!
There is a site on wordpress, which is multilingual with the help of the qTranslate plus plugin. Everything works fine except:
1. I can't translate the text in the slider. Methods suggested by the plugin do not work:
[lang1]Text in Russian[:lang2]text in another language
Also, the system does not allow inserting the following structure into the slider text form:
<?php if(get_locale() == 'ru_RU') { ? > Text in Russian <?php } else { ?> text in another language <?php } ?>
php code in this case is automatically commented...
2. Since the site is a single page, the menu consists of links within the page. And on each language version of the site, the link leads to the default language.
Please tell me how to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
webpixel, 2015-06-10
@webpixel

<!--ru-->Текст на русском<!--:--><!--en-->текст на другом языке<!--:-->

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question