Skip to content Skip to sidebar

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

Problem:
The client wants to use the same translations for domain.at as domain.de without translating all content twice for Austria and Germany, both speaking German.
Solution:
We recommend creating 'at_AT' as a custom language. This allows you to use our fallback method, where content will display in the original language if no translation is available, and also generate a translated permalink. You can set up the multi-domain configuration as described in the following documentation:

If this solution does not apply to your case, or if it seems outdated, we 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. If further assistance is needed, please open a new support ticket.

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 2 replies, has 3 voices.

Last updated by Marcel 1 year, 3 months ago.

Assisted by: Marcel.

Author Posts
June 21, 2024 at 1:01 pm #15775385

lukasB-4

Background of the issue:
We have two countries, Austria and Germany, both of which speak German. We have configured two languages in WPML: DE and DE-AT. DE is completely translated. All languages are using domain-specific translations, for example, domain.com = EN, domain.de = DE, domain.cz = CS. We would like to have another domain, domain.at, using the same translations as domain.de, and we don't want to translate all content twice. We just want to have these two languages in sync.

Symptoms:
We don't want to translate all content twice and want to have DE and DE-AT in sync.

Questions:
Is it possible to have domain.at use the same translations as domain.de without translating all content twice?

June 21, 2024 at 1:43 pm #15775726

Marsel Nikolli

Thank you for contacting WPML support,


before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

Unfortunately, it's not possible to use two domains for the same language because WPML allows you to set one domain for each language.

You can configure one of them to redirect to the other domain you are using with WPML. You can also create a new custom language and use the other domain for it then duplicate the content from the language with the first domain to the new language.

Please check the following docs for more details:

Adding custom languages: https://wpml.org/documentation/getting-started-guide/language-setup/editing-wpmls-languages-table/#adding-your-own-languages-using-wpmls-gui

Duplicating your posts and pages: https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/#how-to-duplicate-pages-and-posts-in-bulk

Kind regards,
Marsel

June 21, 2024 at 2:02 pm #15775850

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hi,

in your specific scenario, I recommend creating at_AT as a custom language. So you can use our fallback method: https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/#using-the-default-language-as-a-fallback-for-untranslated-content.

This method will display your content in the original language if no translation is available. It will also generate a translated permalink. So you can get *.de in German and *.at showing a copy of the German content.

You can set up the multi-domain as described here: https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/#how-to-enable-different-languages-per-domain.

Best regards,
Marcel