spanish translation
-
You’ll find the Spanish translation of Forever here:
http://translate.wordpress.com/projects/wpcom/themes/forever/es/default
You can download the .po and .mo files by clicking the Export link at the bottom left.
where? you can send me a print please
ready, I downloaded;)
Now where do I go in the wordpress to work?
The next thing you need to do is use FTP or whatever file management application your hosting provider uses and copy the .po and .mo files to the
languages
directory inside theforever
directory. Then, you’ll need to edit yourwp-config.php
file to use the Spanish translation. See Editing wp-config.php for more details.You may need to contact your hosting provider for assistance with these steps.
There are a few steps to do.
First, set up a child theme, so your tweaks won’t be overwritten when updating the theme. Here are some guides in case you haven’t made one before:
http://codex.wordpress.org/Child_Themes
http://op111.net/53/
http://vimeo.com/39023468Create a folder called languages in your child theme and put the Forever .mo file in it.
To use language files in a child theme you need to let the child theme know that these language files are there, by calling in the folder from your child theme’s functions.php file.
If you don’t already have a functions.php in your child theme, create one in a plain-text editor (not a rich-text editor like Word) and add this bit of code right at the top:
<?php add_action( 'after_setup_theme', 'my_child_theme_setup' ); function my_child_theme_setup() { load_child_theme_textdomain( 'forever', get_stylesheet_directory() . '/languages' ); }
If you already have a functions.php file in your child theme, add all the code above except the opening <?php tag.
Codex reference: http://codex.wordpress.org/Function_Reference/load_child_theme_textdomain
Let me know how it goes.
You will also need to install WordPress in Spanish to get things like dates and other elements outside the theme to show up in Spanish.
The next thing you need to do is use FTP or whatever file management application your hosting provider uses and copy the .po and .mo files to the languages directory inside the forever directory.
Just a heads-up that if you put the language files directly in the theme folder, you’ll lose them the next time the theme is updated, and it will revert to English. If you use a child theme, your files will be preserved, so I recommend that method.
- The topic ‘spanish translation’ is closed to new replies.