Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was unable to translate some copywriting on their website, specifically within the ElementsKit Offcanvas widget.
Solution:
We found that the 'elementskit_content' post type was set to 'Not Translatable' in the WPML settings. To resolve this:
1. We changed the translation preference for 'elementskit_contents' to 'Translatable' in the 'Post Type Translation' section of WPML > Settings.
2. We navigated to WPML > Translation Management, selected 'Elementskit item' from the Post type dropdown, and identified the template used in the Offcanvas.
3. We sent the relevant post for translation following the guidelines here: Translating pages, posts, and custom post types.
4. We translated the post through 'WPML > Translation'.
5. In the editor, we ensured that the contents were correctly translated and that the title's translation matched the default title.
6. After completing the translation, we verified that the Russian contents were properly displayed within the offcanvas Widget.

The post has been translated into Arabic, and the client should follow the same procedure to translate the post into other languages.

If this solution doesn't look relevant, please open a new support ticket.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 3 replies, has 3 voices.

Last updated by Prosenjit Barman 1 year, 10 months ago.

Assisted by: Prosenjit Barman.

Author Posts
December 29, 2023 at 7:27 am #15136010

jianyuanh

I am trying to:Some copywriting on the website cannot be translated

Link to a page where the issue can be seen:hidden link

I expected to see:

Instead, I got:

December 29, 2023 at 8:40 am #15136065

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with the first debugging steps or if I can help with the issue quickly.

1) In order to expedite handling your support requests, can you please share WPML support debug information from your site.

- To give debug information, login to your site and go to WPML → Support. From there click on the “debug information” link at the bottom of the page.
- Once on the “debug information” page, select the entire content of the text box and copy it.
- Now go back to our support forum, find debug information box and paste it.

More information on the link: https://wpml.org/faq/provide-debug-information-faster-support/

2) Can you please explain in more detail what is not translating? Adding some images would be helpful.

Thanks,
Drazen

January 3, 2024 at 8:29 am #15145428

jianyuanh

I am trying to:Some copywriting on the website cannot be translated

For example, the copy in the attached picture

Link to a page where the issue can be seen:hidden link

I didn't find the debugging information. Here is the account and password for the website: hidden link
[Removed]

I expected to see:

Instead, I got:

_20240103162000.png
January 3, 2024 at 11:31 am #15146172

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
I hope you're doing well. Thank you for clarifying the issue.

After reviewing your site, I found that the area highlighted in your screenshot is a part of the ElementsKit Offcanvas widget. Within this Offcanvas widget, there's a dedicated area for inserting Offcanvas content. When you input content in this area and save your changes, it creates a new post under the "elementskit_content" post type. This post is then dynamically incorporated into the Offcanvas widget as its content.

Since you've shared access to your site, I have checked and found that in "WPML > Settings > Post Type Translation", the translation setting for the "elementskit_content" post type is set to "Not Translatable". For this reason, the posts within that post type remain untranslated and appear in all languages.

I'm pleased to report that after some modifications, the contents within the Offcanvas are now correctly displayed in Russian and Arabic. Here's a breakdown of the steps I took to resolve the issue:

- First, I adjusted the settings in WPML > Settings by setting the translation preference for 'elementskit_contents' to "Translatable" in the "Post Type Translation" section.
- Then, I accessed WPML > Translation Management and selected "Elementskit item" from the Post type dropdown.
- I reviewed each item to identify the template used in the Offcanvas, selected the relevant post, and sent that template for translation, as per the guidelines here: https://wpml.org/documentation/translating-your-contents/#translating-pages-posts-and-custom-post-types.
- I proceeded to translate the post through "WPML > Translation".
- In the editor, I checked that the contents were correctly translated and made sure that the title's translation was the same as the default title (See screenshot: hidden link). This is important as the post is loaded based on the ID defined in the post title, which has to remain the same across all languages.
- Finally, after completing the translation, I confirmed on the frontend that the Russian contents are now properly displayed within the offcanvas Widget.

The post has also been translated into Arabic. Following the same procedure please translate the post into other languages.

Let me know if that helps or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

January 4, 2024 at 9:50 am #15149829

jianyuanh

no