Skip Navigation

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

Problem:
The client wants translations not as posts saved in the database but to only appear when a page is loaded.
Solution:
WPML does not support on-the-fly translation based on user preference without creating separate translations for each language. Translations are saved into the database to give full control over them.

If this solution doesn't look relevant, please open a new support ticket in the 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 3 replies, has 2 voices.

Last updated by Laura 1 year, 7 months ago.

Assisted by: Laura.

Author Posts
October 24, 2023 at 1:50 pm #14648299

ianC-26

Hi Team

We want the translation to work in a manner that doesn't cause it to duplicate all posts and content, but rather translates the content on the post/page based on the user's preference, is that possible? We have a bunch of custom post types, content, taxonomies, courses, see duplicating everything doesn't work for us

October 24, 2023 at 2:08 pm #14648469

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

Hi,

thanks for contacting us.

I'm not sure I understand your request.

You say you don't want to duplicate posts and pages, but for WPML, duplicates are identical copies of the original language, not translation. See https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/

You can translate just part of the content via Translation Management, see https://wpml.org/documentation/translating-your-contents/

October 25, 2023 at 7:30 am #14657349

ianC-26

Hi Laura

For example, we now have pages for English and Polish, but we would prefer to just have the text translated on the page when the user selects their preferred language, not an additional page, image attached.

1848aae3-c6ab-4139-a944-6131b8807607.png
October 25, 2023 at 7:37 am #14657459

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

That's not possible, is not how WPML works. Translations are saved into your database so you have full control of them.