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.
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 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.
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?
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/).