V
V
voit_v2016-09-01 15:30:43
PHP
voit_v, 2016-09-01 15:30:43

modx not working babel?

Hello, I am making a website (demo demo1.zzz.com.ua/) on the modx engine, I made it multilingual with the help of babel. When I go to the article and click translate, the address of the translated page appears in the address bar, and displays the main one. What could be the problem?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
X
xmoonlight, 2016-06-29
@WyPe

You are wrong. everything is correct.

R
Rou1997, 2016-06-30
@Rou1997

<?php if ($ID) echo...

J
Jimi Hendrix, 2016-06-30
@LuckydutchRM

If nothing happens, print the $ID variable
and see what's in it. If empty - draw conclusions.
And by the way, yes. If you use short tags <? ?> , the short_open_tag option must be enabled in the php.ini file. But it's better not to do this, but still use <?php ?>

S
Sergey, 2016-09-03
@Derzaiii

So:
1) babel - does not do multilingualism, and only makes it possible to switch between contexts
2) to make multilingual use this instruction

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question