Page 1 of 2

Translate plug-in

Posted: Thu Sep 19, 2019 9:38 am
by ustalo
Hello
Looks like there was plug-in redirect from one language to other page to page, not to index.php
like

English contacts >>> Russian contacts
and back

Re: Translate plug-in

Posted: Thu Sep 19, 2019 9:52 am
by frase
Do you mean the polyglott plugin?

https://github.com/cmb69/polyglott_xh

Re: Translate plug-in

Posted: Thu Sep 19, 2019 9:58 am
by ustalo
I will look/ Now need to run out. Thanks for help.

Re: Translate plug-in

Posted: Thu Sep 19, 2019 2:50 pm
by ustalo
Thx. It is. Somehow it doesn't not works for a moment/ Looks like I follow manual, but it does not works.

Re: Translate plug-in

Posted: Thu Sep 19, 2019 3:20 pm
by frase
Можете ли вы описать, что именно не работает?
---
Can you describe exactly what's not working?

Re: Translate plug-in

Posted: Thu Sep 19, 2019 3:36 pm
by frase
Может, это поможет?
(Цитата из руководства)
---
Использование

Для использования расширенного языкового меню Polyglott_XH, замените вызов функции languagemenu() в шаблоне(ах) на:

<?php echo polyglott_languagemenu();?>

Для того чтобы это действительно сработало, вам необходимо отметить отдельные страницы на разных языках соответствующим образом. Это можно сделать на вкладке "Polyglott" над редактором содержания; просто присваивайте оригинальной странице и ее переводам одно и то же уникальное ключевое слово.

Администрирование модулей (Plugins → Polyglott → Переводы) предоставляет обзор уже переведенных страниц. Заголовки страниц, а также переводы связаны с соответствующими страницами в режиме редактирования, так что вы можете быстро исправить любые отсутствующие ключевые слова Polyglott_XH.

Обратите внимание, что отношения между страницами на разных языках кэшируются под plugins/polyglott/cache/ по причинам производительности. Если вам нужно очистить этот кэш по какой-либо причине, вам нужно будет сохранить по крайней мере одну страницу каждого языка, чтобы восстановить его правильно.

Переведено с помощью www.DeepL.com/Translator

Re: Translate plug-in

Posted: Fri Sep 20, 2019 5:57 am
by ustalo
I do all as in manual and test on several cms with 2 and 3 language. Also test on fresh one. I add tags in edit menu and when I check out in plug-in tab translates I see tags exist only on main language, Other language empty.

Re: Translate plug-in

Posted: Fri Sep 20, 2019 6:11 am
by frase
Of course, you have to enter the identical tags in each language on each corresponding page so that the CMS knows which page to switch to.

Another possibility would be a problem with the cache. (... \plugins\polyglott\cache\). Change something on any page and then save the content. This will rebuild the cache. The cache folder must of course have the right rights.

Re: Translate plug-in

Posted: Fri Sep 20, 2019 6:18 am
by ustalo
I clean up cash. permission 755

Re: Translate plug-in

Posted: Fri Sep 20, 2019 6:19 am
by ustalo
I test it also online (before on local)
http://test.sima.spb.ru