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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
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)

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Long Nguyen 4 days, 20 hours ago.

Assisted by: Long Nguyen.

Author Posts
November 18, 2024 at 1:20 am #16412390

nicholasC-18

Hi Nguyen,

Thanks for your suggestions.

Yes, the page can now be translated but the translated regions, countries and ports are still cannot be displayed.

Looking forward to your reply.

November 18, 2024 at 1:34 am #16412395

Long Nguyen
Supporter

Languages: English (English )

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

Hi Nicholas,

Here is the new ticket. I see that you are using the Elementor Custom HTML widget to show the countries (posts) in the accordion section.
Do you use a custom query with a custom shortcode to show the posts (countries) in the frontend? If yes, I suggest you use the filter hook "wpml_object_id" to get the translation post ID in the current language and get post information based on the ID.
Please read more about the hook in the documentation https://wpml.org/documentation/support/achieving-wpml-compatibility-for-your-themes-and-plugins/#fetch-ids-from-different-languages

Looking forward to your reply.
Thanks