Skip Navigation

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

Problem:
You are trying to translate your BetterDocs documentation from Danish to English, but you're facing an issue where headers such as H2, H3, and below are not visible on most translation pages, although they appear on some.
Solution:
We recommend two approaches to resolve this issue:
1) Modify the string format by removing the dot after the numeral in your headers. For example, change from (2.1. Økonomi) to (2.1 Økonomi). This adjustment should make the headers visible in the translation editor.
2) Utilize the search field in the translation editor to locate and translate these headers.

If this solution does not apply to your case, or if it seems outdated, we encourage you to open a new support ticket. We also 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. For further assistance, please visit our support forum at WPML Support Forum.

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 0 replies, has 1 voice.

Last updated by henrik-normannN 2 days, 2 hours ago.

Assisted by: Osama Mersal.

Author Posts
January 18, 2025 at 7:55 pm #16609752

henrik-normannN
Site owner

Background of the issue:
I'm trying to translate my BetterDocs docs from Danish to English. The issue can be seen on this page: hidden link.

Symptoms:
I expected to see H2, H3, and below on the translation page, but they are not visible for most posts. However, it worked on this one: hidden link.

Questions:
Why are the headers not showing up for translation on most posts?
Why does the translation work on some posts but not others?

January 19, 2025 at 9:00 pm #16611248

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

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

I can see H2 and H3 titles on the page you sent as an example. Please see the attached screenshot. Design-wise, the English page looks the same as the original Danish page.

Have you solved this problem already?

If not, please elaborate on this problem and send us screenshots.

Regards,
Itamar.

2025-01-19_22-56-46.jpg
January 19, 2025 at 9:21 pm #16611268

henrik-normannN
Site owner

Not solved, we use some english terms in danish. The problem is still that WPML doesn't always find the headers. If you look at the table of contents, it's in danish. Looking at the WPML translation it does show some of the headers, but where I'd expect the "2.1. Økonomi" header from image 1 it doesn't appear. I've attached an extra image from BetterDocs, so you can see how it's setup. It should be a H2 header, so it clearly exists on the page, but WPML overlooks / doesn't find it.

It has happened on most of my docs, except the previous exception I linked, which I setup excatly like the rest. So I'm quite puzzled.

debug3.png
Debug2.png
Debug1.png
January 20, 2025 at 3:05 pm #16614108

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

January 21, 2025 at 8:55 am #16616834

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

1) Thanks for your reply. Please check the provided access details.

2) No need for FTP now. I'll check the issue, and if it's needed, I'll let you know.

3) The "All-in-One WP Migration" plugin is perfect for taking a site backup.

Best regards,
Osama

January 21, 2025 at 10:35 am #16617777

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. I checked the issue, and there are two workarounds for this case:

1) Change the string from (2.1. Økonomi) to (2.1 Økonomi) without the dot after 1.

After this change, you will be able to see the heading in the translation editor.

2) Use the search field in the translation editor to translate these headings. (Kindly check the attached screenshot)

Best regards,
Osama

2025-01-21_12-27-24.png
January 21, 2025 at 6:32 pm #16620180

henrik-normannN
Site owner

I can confirm your solutions worked. Many thanks for the help, it's been much appreciated.