Home › Forums › WoodMart support forum › WPML only plugin needed for translation?
WPML only plugin needed for translation?
- This topic has 10 replies, 3 voices, and was last updated 5 years, 3 months ago by Artem Temos.
-
AuthorPosts
-
August 5, 2019 at 12:57 pm #136058
ToriTori38ParticipantHi there,
I just bought your theme (thanks for the great work) and will need our website to be displayed in 3 languages (English, French and German). I would like to know if I can translate all your theme files just with WPML or do I also need the Loco Translate plugin?
I am trying to keep plugins to an absolute minimum, so if I can translate your theme files using just WPML that would be great for me. Please let me know.
I guess however that where WooCommerce would be concerned, it would make sense to also use Loco translate, as the languages I require already exist.
Any advice appreciated.
BR
August 5, 2019 at 3:25 pm #136090
Elise NoromitMemberHello,
Thank you very much for choosing our theme and for contacting us.
WPML makes site multilingual and Loso translates the initial strings. You can install Loco, save the translation file in wp-content/languages/themes/woodmart-pt_PT.po folder.
Then delete Loso and use WPML
Best Regards
August 13, 2019 at 3:39 pm #137973
ToriTori38ParticipantHello,
I have just installed Loco translate. However I am not sure where I should save language translations so they are not replaced when I next update WordPress or your theme.
You advised me to save to languages/themes/woodmart-de_DE.po but that is a system folder apparently according to Loco translate (see image below). System folders I believed were at risk from being overwritten by WordPress when you do an update.
Thanks for your help here.
Attachments:
You must be logged in to view attached files.August 13, 2019 at 3:40 pm #137975
ToriTori38ParticipantThis is what Loco translate says on their website. Should we ignore this?
System (possibly unsafe)
This location is under the global language installation directory (WP_LANG_DIR). Files saved here can be overwritten by WordPress’s own language installer, so don’t save files here unless you’ve disabled automatic translation updates.August 13, 2019 at 6:47 pm #138017
Elise NoromitMemberHello,
We suggest you keep translated files in wp-content/languages/themes/woodmart-pt_PT.po folder.
Do not worry your translation would be saved after each upgrade.
Best Regards
August 13, 2019 at 6:58 pm #138020
ToriTori38ParticipantMany thanks for your reply.
OK I have done what you said. However when I look at the WooCommerce plugin for example, and where its translatations are saved (which were automatically created) it shows they are saved in: languages/plugins/woocommerce-de_DE.po (which is a location which I believe might be overwritten).
I can via Loco translate choose a new location for these translations (see image attached) and select languages/loco/plugins/woocommerce-de_DE.po
Would that be better? See image attached. Thank you.
Attachments:
You must be logged in to view attached files.August 14, 2019 at 8:12 am #138081
Elise NoromitMemberHello,
Save all the translations for the plugins in
wp-content/languages
and for the theme inlanguages/themes/
Best Regards
August 14, 2019 at 10:24 am #138118
ToriTori38ParticipantHello Elise,
I just need to confirm the location for saving plugins with you. At the moment all plugin translations automatically were added to wp-content/languages/plugins
However you told me to save to wp-content/languages
So can they stay in wp-content/languages/plugins or do I need to relocate them all to wp-content/languages ?Thanks for your help!
August 14, 2019 at 11:45 am #138135
Artem TemosKeymasterHello,
Store them in the location suggested by the plugin since we are not responsible for them. The main thing is to store them somewhere under
languages/
folder.August 14, 2019 at 2:45 pm #138219
ToriTori38ParticipantGreat many thanks
August 14, 2019 at 2:55 pm #138221
Artem TemosKeymasterYou are welcome.
-
AuthorPosts
Tagged: WPML Loco-translate
- You must be logged in to create new topics. Login / Register