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: Documentation request
This topic contains 4 replies, has 2 voices.
Last updated by Carlos Rojas 1 year, 8 months ago.
Assisted by: Carlos Rojas.
Author | Posts |
---|---|
August 15, 2023 at 12:21 pm #14202909 | |
viktorB-17 |
Hello my question is how to translate the default woocommerce pages or functions - for example the my Account page. When I translate the Website to the default German version everything works fine and the My Account page is automatically in German. hidden link See screenshots. See screenshot. How can I make it that hidden link is also treated as a german site? so all the default woocommerce functions pages etc. are treated as a german website? I also cann ot find where to translate it manually. Please help 🙂 Best, Viktor |
August 15, 2023 at 1:25 pm #14203257 | |
viktorB-17 |
Okay I have figured out how to do it manually which takes a long time. I had to load all the strings from the theme and woocommerce and then you can for example translate Accountdetails to Kontodetails manually. See screenshot. But in the default german version everything is already automatically in german on the account page. how can I also do that for Swiss and Austrian translation? thanks! 🙂 |
August 16, 2023 at 11:16 am #14208941 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hello, These automatic translations appear because German is within the translations in WordPress and Woocommerce, however, it seems that Austrian German and Swiss German are not. In this case, to save some time (and assuming most of the words are the same) you can export the .po files containing the translations of Woocommerce in German and import them back as Austrian and Swiss German in WPML -> String Translation -> Export/Import section in the bottom right. Regards, |
August 16, 2023 at 11:51 am #14209223 | |
viktorB-17 |
Hey Carlos, thank you so much for the reply. However I dont fully understand how to do it correctly. When i check the string translations. German does not have a translation but on the frontend its already corrctly translated - see example screen shots. I have tried to use export/ import the woocommerce po file. I was reading through other guides and discussions here on wpml forum but i do not understand how i can upload the german file and add it to the austrian or swiss translation (basically identical) I am looking forward to hearing from you. Best, Viktor |
August 16, 2023 at 1:00 pm #14235909 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi Viktor, In this case, you have two options: 2.- Another workaround will be to find the .mo/.po files of the languages folder within the wp-content directory -> Duplicate the files that belong to the strings in German for Woocommerce and rename them to the language code you created for Austrian and Swiss. Cheers! |