Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 1 reply, has 2 voices.

Last updated by Long Nguyen 9 months ago.

Assisted by: Long Nguyen.

Author Posts
March 12, 2024 at 4:57 pm

pavloR

Hi! I'm working on a custom elementor widget for a client and making it translatable with WPML. It is a simple widget with only two text fields (LINE and AREA). I've made it available for translation with WPML config xml and translated, but translation does not appear on the page. I see original english content instead.

March 12, 2024 at 5:46 pm
March 13, 2024 at 3:12 am #15401879

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Pavlo,

Thank you for contacting WPML support, I’m happy to help you with this issue.

I see there is a space at the end of the widget name when you register the custom Elementor widget and XML configuration code. If I remove that space, and re-translate the widget fields in Advanced Translation Editor, the translation is displayed correctly in the frontend.

<widget name="about-page-intro ">

and

public function get_name() {
	return 'about-page-intro ';
}

it should be:

<widget name="about-page-intro">

and

public function get_name() {
	return 'about-page-intro';
}

Looking forward to your reply.
Thanks

staging8.samuraigame.org:zh-hans:test5544-chinese: 2024-03-13 10-13-13.jpg
Advanced Translation Editor - WPML 2024-03-13 10-08-23.png

The topic ‘[Closed] I need your help to find out how to make translation appear on the page’ is closed to new replies.