Search tours in Spanish

Categories Midway WordPress Theme Search tours in Spanish

Viewing 6 posts - 1 through 6 (of 6 total)
Author Posts
Author Posts
13/01/2013 at 13:26 #303

independents
Subscriber

Hi Themex,

How can I change in the home page, the words of the search  tours.  I want to change the words -All destination, All types, Departures date and Arrival date and write in Spanish this words. Thank you!!

13/01/2013 at 13:49 #304
themex
themex
Key Master

Usually i use POEdit for translation
http://www.poedit.net/

1. Open midway/languages/en_US.po file in POEdit
2. Then change words in the right column.
3. Then save this file and click generate .mo file (in the same folder).
4. Then rename en_US.mo to es_ES.mo if your wordpress inSpanish for
example (es_ES is spanish language code).
5. That’s all.

You can translate any WP theme in this way.

22/01/2013 at 18:14 #368

gotg
Subscriber

Hi,

What would the proper function be to add the en_US.po file to a Midway child theme?

I’ve tried the function below but it does not work.

My directory structure is Child Theme > languages

add_action( ‘after_setup_theme’, ‘my_child_theme_setup’ );

function my_child_theme_setup(){
load_child_theme_textdomain( ‘my_child_theme’, get_template_directory() . ‘/languages’ );
}

 

22/01/2013 at 22:10 #375
themex
themex
Key Master

Hi, you don’t need to load texdomain to the child theme – you can load just style.css for customizing and all php code will be run from the parent theme and will be translated.

13/02/2013 at 23:30 #666

Insightds
Subscriber

Hi I tried to follow the instructions above downloaded the program made translate ect.

Then I updated the file to the server with the following lines however the website is not changing.

#. Text in function
#: midway/framework/functions.php:95
msgid “day”
msgstr “hour”

#. Text in function
#: midway/framework/functions.php:95
msgid “days”
msgstr “hours”

Cheers

Will

14/02/2013 at 22:59 #669
themex
themex
Key Master

Do you use wordpress in english? Make sure that you’ve not renamed the files then, if your language code is en_US.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.