Skip Navigation

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

Problem:
Registered a module attribute (ID/Numeric) in WPML XML Configuration, it does not show in ATE for translation.

Solution:
Please check this guide https://wpml.org/documentation/support/language-configuration-files/translate-custom-shortcodes-with-wpml/#making-id-attributes-translatable about "Making “id” Attributes Translatable".

This addresses the solution about enabling numbers for translation.

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.

This topic contains 4 replies, has 2 voices.

Last updated by janH-80 1 year, 4 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
December 8, 2023 at 2:59 pm #15026759

janH-80

Hi

Although I've registered a module attribute in WPML XML Configuration, it does not show.

Here is the shortcode of the module / attribute:

hidden link

and here is how I registered it:

hidden link

all other atttributes show in the translation page.

Thank you for checking it.

Jan

December 11, 2023 at 7:52 am #15033351

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hello Jan,

Thank you for contacting the support.

I see that the attribute contains numeric and these usually are not considered translatable. Thus do not appear in ATE by default.

However, you can search for these numbers when translating, please see https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/ for an understanding about searching the hidden content (by default) in Advanced Translation Editor.

I hope this 'll help resolve the issue or let me know.

Regards.

December 11, 2023 at 9:44 am #15034747

janH-80

Hi Waqas

Thank you for your reply. I tried that before and tried again now, but the search does not bring up the missing attribute.

Regards,
Jan

December 11, 2023 at 12:40 pm #15037017

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

Please check this guide https://wpml.org/documentation/support/language-configuration-files/translate-custom-shortcodes-with-wpml/#making-id-attributes-translatable about "Making “id” Attributes Translatable".

This addresses the solution about enabling numbers for translation.

December 14, 2023 at 3:33 pm #15066033

janH-80

First tries have not solved the isse, but I'll give it another try tomorrow.

December 15, 2023 at 9:09 am #15070541

janH-80

Hi Waqas

It worked. Thank you very much for your support!

Jan