Skip Navigation

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

Problem:
The client wants to duplicate the German language setup for a new Austrian language version on their website, including duplicating strings and taxonomy data, and managing PO/MO files for translation.
Solution:
1. To duplicate content from one language to another, follow the steps outlined in this forum post.
2. Strings cannot be duplicated directly; they must be translated. Manual translation can be done following the guide here: String Translation. Alternatively, use automatic translation for bulk operations as described here: Automatic Translation.
3. For syncing taxonomy data, refer to this forum discussion.
4. To manage PO/MO files, export the German translations and import them for the Austrian language as detailed here: Import/Export PO. Note that this process needs to be done per text-domain, which might be time-consuming.

If this solution does not resolve your issue or seems outdated, we recommend opening a new support ticket. Additionally, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can also visit our support forum at 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 8 replies, has 2 voices.

Last updated by Mihai Apetrei 2 years, 7 months ago.

Assisted by: Mihai Apetrei.

Author Posts
April 10, 2022 at 9:33 pm #10990381

tilenS

Tell us what you are trying to do? My default website language is English. We have website translated into German. Now we created a new language for the Austrian market, where they speak German. Now we would like to duplicate the german language into the Austrian language. How we can do that?

Is there any documentation that you are following? https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/
If we follow this instruction we get the English language, but we want German.

Is there a similar example that we can see? https://wpml.org/forums/topic/one-language-on-two-domains/

What is the link to your site? hidden link

April 11, 2022 at 5:45 am #10991627

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

Please follow the steps mentioned by my colleague here:
https://wpml.org/forums/topic/copy-duplicate-products-from-secondary-language-to-third-language/#post-8153713

That should help you accomplish exactly what you wanted.

Have a lovely rest of the day.

Mihai Apetrei

April 15, 2022 at 10:19 am #11027395

tilenS

Ok, thanks.

And what is the best way to translate/duplicate other strings/texts to German-Austiran language from german language?

Best regards,
Tilen

wpml.PNG
wpml-at.PNG
April 15, 2022 at 10:47 am #11027669

tilenS

Further, I would also need to know how to sync/duplicate Categories?

April 18, 2022 at 2:25 pm #11039019

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there, Tilen, and welcome back.

1. The strings can't be duplicated, only translated.

You can either translate them manually (https://wpml.org/documentation/getting-started-guide/string-translation/) or use the automatic translation functionality for selecting strings in bulk and translating them (https://wpml.org/documentation/automatic-translation/automatically-translating-multiple-translation-jobs-in-bulk/#selecting-strings-to-translate).

2. In regards to syncing taxonomy data, please take a look here:
https://wpml.org/forums/topic/copy-taxonomy-from-italian-to-english/#post-6156441

Have a lovely rest of the day.

Mihai

April 20, 2022 at 2:23 pm #11056557

tilenS

Hello,

is there a way that we duplicate german PO/MO file and use it for Austrian language? If yes what is the process?

Currently, Austrian site uses the English language, we want to use the German language for all Austrian strings. For example "Add to Cart", "Checkout" etc.. all these basic strings which would be difficult to translate because there are so many and they are already localized with plugin (for example WooCommerce). We are running website on WordPress/WooCommerce and using many plugins. I am pretty sure it must be some automatic way.

Best regards,
Tilen

April 20, 2022 at 7:56 pm #11058551

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi Tilen and welcome back.

If we talk about PO files, you could export German translations like this:
https://wpml.org/documentation/getting-started-guide/string-translation/#import-export-po

And then simply import the same file, but choosing Austrian as a destination language (see the example image)?

That should do what you wanted.

Mihai

6195413-import_into_another_language.jpeg
April 23, 2022 at 1:12 pm #11083721

tilenS

Ok, please tell me how can I export one PO file. If I go to Export string into .po/.pot file I have to select each plugin. I would like to export one PO file and import it. Not plugin by plugin.

Where in wordpress server folder is PO file?
wp-content/plugins/sitepress-multilingual-cms??
Maybe I can find the file there and copy and rename the german PO file to Austiran?

WPML-AT1.JPG
April 26, 2022 at 10:34 am #11095733

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

I wanted to let you know that I also got in touch with my colleagues to make sure that I'm offering the best solution here.

The only option to accomplish what you wanted (in order to avoid custom work which would require a developer and money) would be to export the strings as I mentioned above and reimport them, but you will have to export per text-domain so it will take you a while to export and import everything.

Each plugin/theme comes with its own text-domain so that is why you see a dropdown list there and you need to do that individually, for each of them.

If you prefer to have someone custom-create this for you, you can hire a developer or a WPML contractor (https://wpml.org/contractors/).

I hope that you will find this answer helpful 🙂

Mihai