Archived topic
Spanish translation
16 replies · Started by Anonymous on October 18, 2014
Hi, Tom.
I'm translating this awesome theme to spanish, but i've got some problems with the installation in my child theme. This is the first time i translate a theme, so i'm a newby.
If i copy the files "es_ES.mo" and "es_ES.po" to the parent's languages directory ("/wp-content/themes/generatepress/languages/"), it works ok. The problem is, when the theme is updated, i lose the translation...
So i guess i should put those files in the child directory ("/wp-content/themes/GeneratePressMiiiNiiiTheme/languages/"), but that doesn't work :( .
What am i missing?
Thanks.
Hi David,
I would love to include the translation in the parent theme permanently - that way you wouldn't lose it on update?
Let me know if you'd be willing to send it over :)
Thanks!
Hi David,
Can you possibly email me the .po and .mo files to support@generatepress.com? That would be awesome! :)
Thanks again - I really appreciate it!
Ok, i'll send it in a moment. I guess the link (to the file) i posted in the last comment have been blocked by the anti spam system, or something, uh?
Received - thanks again!
I've added the translation to the next version, so you can go ahead and add those files to the "languages" folder in the "generatepress" folder, and when you update, the files will still be there.
Thanks!
Perfect :)
Happy to contribute to this great theme!
Greets
Hi Tom,
could You please tell us anyway how to use translation files of other (not supported) languages at childtheme directory ?
Thanx
Hi Radek,
This site has some good info on translating a theme: http://premium.wpmudev.org/blog/how-to-translate-a-wordpress-theme/
Basically, you need Poedit, and then open the generatepress.pot file in the "languages" folder.
Then you can translate whatever strings you want :)
Hope this helps.
Sorry, but question was how use translated files at childtheme directory, so upgrading parrent theme doesnt mean to reupload my files each time. So how to tell generatepress to use files from: /wp-content/themes/GeneratePressMyChildTheme/languages/ ?
Hope You understand now what I mean with my bad english ;)
Ah sorry about that.
Maybe this will help?: http://ronangelo.com/add-language-files-on-a-wordpress-child-theme/
Thanx, sounds good, I'll try tomorrow.
Works, maybe add this to knowledgebase will be fine ;)
Hi, i need help please.
Went up to my server files, then edit the file by placing define(‘WPLANG’, ‘es_ES’ ); in wpconfig.php but I can not update the translation.
Help me appreciate the translation.
Hi there,
You should be able to choose your language in "Settings > General" now at the bottom.
You can edit the translation by opening the language file in the wp-content/generateporess/languages folder.
Let me know if you need more info :)
