Home › Forums › WoodMart support forum › How to translate strings
How to translate strings
- This topic has 18 replies, 2 voices, and was last updated 1 year, 10 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
January 12, 2023 at 9:22 pm #434917
haz.branislavParticipantHello, I would like to ask how to translate some strings, specifically:
Cart widget
- Close – button
- Shopping cart – title
Header
- “Hello” – before the username
Cart
- SHOPPING CART -> CHECKOUT -> ORDER COMPLETE – in title
I also tried to edit it in the .po file, but with no result. Even some of the above examples were translated there by default, but it did not appear translated on the website.
Please help.
January 13, 2023 at 8:26 am #434960
Aizaz Imtiaz AwanKeymasterHello,
Please use the Loco translate plugin on your site. After installing the plugin please Navigate to Loco >> Themes >> Woodmart >> Edit the translation which you are using for the site >> Click the Sync button >> Find the words and add the translation for them and save it.
Also, please Navigate to Loco >> Plugins >> Woocommerce >> Edit the translation which you are using for the site >> Click the Sync button >> Find the words and add the translation for them and save it.
Also, please Navigate to Loco >> Plugins >> Woodmart-Core >> Edit the translation which you are using for the site >> Click the Sync button >> Find the words and add the translation for them and save it.
https://wordpress.org/plugins/loco-translate/
Note:
1. Custom (recommended)
2. This is Loco’s protected folder under “wp-content/languages/loco/” which is safe from automatic updates and provides priority over the above locations.
https://localise.biz/wordpress/plugin/manual/msginit?utm_medium=plugin&utm_campaign=wp&utm_source=admin&utm_content=plugin-msginit#order
If this folder doesn’t exist you may need to create it and ensure it has the correct permissions.
https://localise.biz/wordpress/plugin/manual/filesystemIf the issue still exists then please send me the WP admin login details of your site so I will check and solve the issue for you.
For more information please read the theme documentation here:
https://xtemos.com/docs-topic/translate-woodmart-theme-with-loco-translate/Best Regards.
January 13, 2023 at 9:24 am #434969
haz.branislavParticipantHello, I will definitely try it today. But I want to ask, will these translations remain even after Loco is uninstalled? In the future, I want WPML to use multi domains and language mutations. Thanks
January 13, 2023 at 4:43 pm #435060
Aizaz Imtiaz AwanKeymasterHello,
If you are using the WPML Plugin then no need to use the Loco translate plugin. You can easily tranlsate these words from teh WPML >> String Translation section.
Best Regards.
January 13, 2023 at 9:56 pm #435108
haz.branislavParticipantHello, thanks for the support. As for WPML, that’s far in the future, so I tried Loco, but everything looks fine there. Even the strings that I wanted to translate are translated by default. The problem is that these strings were not translated on the frontend theme.
Attachments:
You must be logged in to view attached files.January 14, 2023 at 8:33 am #435150
Aizaz Imtiaz AwanKeymasterHello,
Can you please share the WP admin login details of your site so I will check and solve the issue.
Best Regards.
January 14, 2023 at 10:32 am #435156
haz.branislavParticipantHello, I send the created accesses to WP admin.
Thank you for your support.- This reply was modified 1 year, 11 months ago by haz.branislav.
January 14, 2023 at 4:43 pm #435228
Aizaz Imtiaz AwanKeymasterHello,
I am not able to see the backend of your site, I think you have enabled any restrictions from the server or use any plugin?
Best Regards,
January 14, 2023 at 4:55 pm #435239
haz.branislavParticipantPlease try now. Thanks
January 16, 2023 at 10:16 am #435435
Aizaz Imtiaz AwanKeymasterHello,
Solved. Please check the site after removing the browser cache.
Best Regards.
January 16, 2023 at 10:24 am #435441
haz.branislavParticipantHello thanks. Please tell me how it traslate this string, because I have more of them 🙁
January 16, 2023 at 10:37 am #435446
Aizaz Imtiaz AwanKeymasterHello,
You can translate more words from the Loco >> Themes >> Edit the translation, change the words, translate and save them.
URL is given in the private content.
Best Regards.
January 16, 2023 at 10:54 am #435458
haz.branislavParticipantI tried to translate it with the help of Loco, but like the strings above, the change did not show up. And I have many more such strings, I don’t want to list them all here.
Did you translate the previous strings only with the help of Loco? Because it already showed me by default that it is translated.January 16, 2023 at 4:10 pm #435548
Aizaz Imtiaz AwanKeymasterHello,
Can you please tell me which words you have translated and not showing on the frontend? Also, share the screenshot.
Best Regards.
January 16, 2023 at 6:50 pm #435608
haz.branislavParticipantHello, thanks for your support.
I’m sending screenshots of strings that I can’t translate.
Please, is it possible to return the translation of the Woodmart admin interface + related plugins back to English?
Thanks
Attachments:
You must be logged in to view attached files.January 16, 2023 at 6:51 pm #435613
haz.branislavParticipantI am adding more because the maximum number of uploads is 4.
Attachments:
You must be logged in to view attached files.January 17, 2023 at 2:42 pm #435797
Aizaz Imtiaz AwanKeymasterHello,
There is an issue with the 3rd party plugins. Please deactivate all the 3rd party plugins and activate only theme-required plugins and Loco translate plugin on the site and then check the issue. I am sure your issue will be solved. Then Activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Best Regards.
January 17, 2023 at 3:04 pm #435801
haz.branislavParticipantThanks, I’ll try it today.
But what about the thong not found problem in Loco?
For example
The text for an empty wishlist is not found in Loco
Title for nickname is not found in Loco
The text in the admin for downloaded products is not in LocoI don’t think these strings will appear after deactivating other plugins, once they’re there they won’t be there either.
January 18, 2023 at 2:36 pm #436043
Aizaz Imtiaz AwanKeymasterHello,
1. The empty wishlist is coming from Theme Settings >> Shop >> Wishlist.
2. Others are not coming from the theme. They are coming from any 3rd party plugins.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register