[Решено] Hello, the translation of my website's homepage is displaying incorrectly. Could you advise what th...
Эта тема решена. Вот описание проблемы и ее решения.
Problem: The client is trying to translate their website's homepage using WPML, but the translation is displaying incorrectly. The homepage uses a template created with Full Site Editing, and changes made directly to the Italian version of the homepage do not appear. Solution: We recommend translating the template through WPML → Translation Management. It's necessary to go to Appearance → Editor → Templates → Accountra and make changes to the 'Pagina principale' template, which should then display correctly on the site. For further guidance, please refer to the documentation on translating theme options here: https://wpml.org/documentation/getting-started-guide/string-translation/how-to-translate-theme-options/ Additionally, ensure that the correct template is assigned to the translated page as described here: https://wpml.org/errata/template-is-not-applied-to-translated-page/
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at https://wpml.org/forums/forum/english-support/.
Это форум технической поддержки WPML – плагина для многоязычной WordPress.
Доступно для чтения всем, но только клиенты, купившие WPML, могут оставлять сообщения. Сотрудники WPML отвечают на сообщения форума 6 дней в неделю, 22 часов в сутки.
Предыстория вопроса:
I am trying to translate my website's homepage using WPML. My website is not a multisite and is hosted at скрытая ссылка. I am using WordPress version 6.8.2 with the WPML Multilingual CMS plugin version 4.7.6.
Симптомы:
The translation of my website's homepage is displaying incorrectly.
Вопросы:
What might be causing the incorrect display of the homepage translation?
Could you elaborate a bit more so I can better understand? What are your steps? What are the results you get? Sometimes screenshots illustrating what you mean may go a long way to clarify what words fail to transmit, so if you like, make use of "upload an image" below the comment area.
Здравствуйте. Проблема такая: у меня есть домашняя страница на итальянском языке (скриншот 1), есть эта же на английском языке, но она открывается на итальянском, если нажать функцию View (скрин 2), а если нажать функцию Edit, то открывается английская версия (скрин 3). Также, если я захожу на свой сайт в английской версии, то открывается итальянская homepage. Подскажите, в чем может быть проблема?
Hello. The issue is as follows: I have a homepage in Italian (screenshot 1), and the same page in English, but it opens in Italian when I click the "View" function (screenshot 2), while clicking the "Edit" function opens the English version (screenshot 3). Additionally, when I access my site in the English version, the Italian homepage opens. Could you advise what the problem might be?
у меня есть домашняя страница на итальянском языке (скриншот 1), есть эта же на английском языке, но она открывается на итальянском, если нажать функцию View (скрин 2), а если нажать функцию Edit, то открывается английская версия (скрин 3).
Не могли бы Вы показать, а где Вы нажимаете View и Edit? Чтобы открыть редактор WordPress и биледра какого нибудь? Мне необходимо понять, что это за функция.
Мне нужно запросить временный доступ (WP-администратора и FTP) на Ваш сайт - предпочтительно к тестовому сайту, где проблема была воспроизведена, если это возможно - для того, чтобы лучше помочь. Вы найдете необходимые поля ниже поля для комментариев, когда Вы войдете, чтобы оставить свой следующий ответ. Информацию, которую Вы ведете является частной, что означает только Вы и я могу видеть и иметь доступ к ней.
Я проверил описанную проблему и заметил, что на главной странице используется шаблон, созданный с помощью Full Site Editing. Например, если я пытаюсь отредактировать итальянскую версию главной страницы напрямую, изменения не отображаются. Однако если перейти в Внешний вид → Редактор → Шаблоны → Accountra и внести изменения в шаблон Pagina principale, они корректно отображаются на сайте.
В этом случае вам необходимо перевести шаблон через WPML → Управление переводами. Я приложил скриншот для наглядности.