Translating your theme

Would you like to translate your 17th Avenue theme to a different language? It's simple!

How to translate your theme

  1. In your WordPress dashboard, go to Plugins > Add New.
  2. Search Genesis Translations and install and activate the plugin.
  3. Go to Settings > General.
  4. At the bottom, under Site Language, select the language you would like to use for your website.
  5. Save settings.
Note: your widget titles will not be translated, because those are easily modified in your dashboard. To translate widget titles, including those on the homepage, go to Appearance > Widgets and simply replace the widget titles with whatever you'd like them to say in your preferred language.

How to translate the "Read More" or "Read the Post" button

Using the Genesis Translations plugin will not translate the "Read More" or "Read the Post" button in your posts. This will need to be manually translated.

1. In your WordPress dashboard, go to Appearance > Editor > Functions.php.

2. Find this section: 

//* Modify Genesis Read More Link
add_filter( 'excerpt_more', 'themename_read_more_link' );
add_filter( 'get_the_content_more_link', 'themename_read_more_link' );
add_filter( 'the_content_more_link', 'themename_read_more_link' );
function themename_read_more_link() {
    return '...</p><p><a class="more-link" href="' . get_permalink() . '">'. __
( 'Read More', 'themename' ) . '</a></p>';
Please note that this code will slightly different from theme to theme. Yours may say "Read the Post" or "Continue Reading."

3. In the code, find the spot where it says Read More toward the bottom. Replace the Read More text with what you want the button to say in your own language. Be VERY careful to keep your text between the two apostrophes.

4. Update File.

Note: If you are using the Amelia, Uptown, or Vivienne themes, this is what the text will look like between the apostrophes instead of "Read More"

Read <em>the</em> Post

The <em> italicizes "the." If you would like part of the button to remain italicized, put the word between <em> and </em>. Otherwise, just remove the <em>'s and place plain text between the apostrophes.