This topic has 19 replies, 2 voices, and was last updated 1 years, 4 months ago ago by Rose Tyler
Please tell me what to do if after updating the theme the translation by language disappears? I backed up and reverted the settings back. But for the future, I want to know what to do so that the translation does not disappear. Thank you.
Hello, Seoanalitik24,
Thank you for contacting us and for using XStore.
Translation files of the theme should be placed in /wp-content/languages/themes/ folder,
plugins, like Core plugin, in /wp-content/languages/plugins folder,
with correct names, for example, for XStore theme: xstore-tr_TR.po, and xstore-core-tr_TR.po for XStore Core plugin, then you will not lose translation after the update – https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/
If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you.
Kind Regards,
8theme team
! Thank you followed our instructions and after the update the translation remained unscathed!
1) There is one more question. Some strings are not translated for empty cart and wish list. I found these lines in Xstore and XStore Core subject line translations, but the translation is not displayed. There were no problems with the translation of the rest of the lines, only with these inscriptions in an empty box and a wish list. Screenshot from the link:
https://test.armsarea.com/wp-content/uploads/2023/06/1.png
https://test.armsarea.com/wp-content/uploads/2023/06/2.png
https://test.armsarea.com/wp-content/uploads/2023/06/3.png
https://test.armsarea.com/wp-content/uploads/2023/06/4.png
Perhaps you can tell me where to translate these lines. Thank you!
Hello, Seoanalitik24,
Thank you for your response.
Please go to Theme Options > WooCommerce > Built-In Wishlist > Empty Wishlist Content; Theme Options > WooCommerce > Cart > Empty Cart > edit content of Text tab.
Also, please watch this video – https://youtu.be/ZyjZ-vCx0pE
Kind Regards,
8theme team
Thanks, I found these settings. The main question is how to make these text in an empty cart and wish list, in different languages ?
If change these text in Theme Options > WooCommerce > Cart > Empty Cart > the Text changes for all languages. As I wrote above Loco translate does not change these lines.
Thank you
Hello, Seoanalitik24,
What multilanguage plugin do you use?
Loco translate plugin is used for only a single language, If you want to use your site in a multilanguage, then you have to use WPML or Polylang plugin as per your requirements: https://www.8theme.com/documentation/xstore/theme-translation/
Kind Regards,
8theme team
I use Poly lang pro and Poly Lang for woocomerce and everything translates fine, but the text in the empty wish list and cart does not translate.
Hello, Seoanalitik24,
Translation of the empty cart should be available in the string translator. Provide us with temporary WP Dashboard and FTP access if it’s missing.
Kind Regards,
8theme team
Thank you. Can you provide me with a video example or a screenshot of how to do this. I want to learn how to do it myself. I will make a dump of the site if something does not work out then I will give you this job. Thank you
Hello, Seoanalitik24,
Here is an example of text for an empty cart – https://prnt.sc/dB9Q_G0P49zY
About the Empty Wishlist, it will be checked by one of your devs, and we will let you know.
Kind Regards,
8theme team
Hello, Seoanalitik24,
Due to the particularities of the Polylang plugin, the translation fields become active only after the corresponding option has been changed and saved. You simply need to change the values of the corresponding options and save the settings in the Customizer, after which you can change the values back to the default ones, so please go to Theme Options > WooCommerce > Built-In Wishlist > Empty Wishlist Content.
Kind Regards,
8theme team
Thanks I will try your recommendations.
But now I checked and I don’t see the string “empty_cart_content” as in your screenshot. Can I add a line in manual mode ? Or change the translation this string through the code in “Theme file editor”
Thank you!
Hello, Seoanalitik24,
Please do for the cart the same we described for the Wishlist. Please go to Theme Options > WooCommerce > Cart > Empty Cart > edit any letter in the Content field > Publish. Then go to Polylang plugin > translations and you will find the empty_cart_content.
Kind Regards,
8theme team
Thanks, I understand how it works. But the string for some reason that did not appear, I’ll try to reinstall the plugin, and I think everything will work!
Thank you!
Hello, Seoanalitik24,
Thank you for your response.
If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you.
Kind Regards,
8theme team
Thank you. There is one more question. I can’t find where to translate the strings and buttons in contacts and newsletter. In the screenshot I have highlighted the necessary objects.
https://test.armsarea.com/wp-content/uploads/2023/07/Contact_form.png
Hello, Seoanalitik24,
Mentioned forms were created using Contact Form 7 and MC4WP: Mailchimp for WordPress plugins, so check the documentation of plugins or contact their support.
Kind Regards,
8theme team
Thank you I have solved this task!
Hello, Seoanalitik24,
Thank you for letting us know!
Kind Regards,
8theme team
You must be logged in to reply to this topic.Log in/Sign up