-
Author
-
December 12, 2016 at 15:35 #146766luquitasargParticipant
Hi, i need to know the the template files name and the file location, because i going to translate it to spanish lenguaje and the Loco Translation didn’t work.
Thank you.
December 12, 2016 at 20:04 #146796RaduModeratorHi,
The Kleo language files are located here :
/wp-content/themes/kleo/languages/en_US.po
/wp-content/themes/kleo/languages/en_US.mo
/wp-content/themes/kleo/languages/kleo_framework.potCheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 12, 2016 at 22:47 #146839luquitasargParticipantThanks Radu!
I translated the buddypress plugin with the loco plugin, i saved the changes and when i go to the page, the changes never happen. Its possible?Attachments:
You must be logged in to view attached files.December 13, 2016 at 17:00 #146905RaduModeratorIn what plugin you have translated those strings ?
Try to translate post an update in kleo and also in BuddyPress plugin from loco, I will paste the translation procedure with loco, make sure to have language files on global directory because on theme update the files from wp-content/themes/kleo/ folder will be overwritten.
Theme strings and plugins strings can easily be changed by using Loco Translate plugin https://wordpress.org/plugins/loco-translate/
A small introduction on how translations work
Translatable strings can come from the theme or from the installed plugins. You need to translate the theme or the plugin depending on what section of the site your string is found.
For example if your string is on your BuddyPress profile then most probably you will need to translate BuddyPress plugin. If you are on the Forums section of your site then bbPress plugin should be the one that needs to be translated. Another example is the rtMedia plugin that adds the Media links to BuddyPress and if you want to translate it then this plugin will contain the string.
Follow these steps to get you started:
- Install Loco Translate plugin
- Go to the plugin dashboard: WP Admin – Tools – Manage translations
- Find the theme or plugin in the list.
- If the language isn’t already in the list then click Add new language, choose your language and if you are asked where you want to save the language files choose global language directory ( wp-content/languages/ ).
- Press SYNC button to synchronise your translation with the provided .pot file
- Search for the string you want to translate and add your translated string.
- Press Save when you finished your translation.
Note: You will have to set the language for your blog from WP-admin – Settings – General – Site Language – Choose your language
Let me know
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.