Support for Envato Buyers Forums OldCar Lost in translation

Viewing 2 reply threads
  • Author
    Posts
    • #1707
      flaubier
      Member

      I translated the theme into french with poedit. Everything is OK except the navigation links on the single post display which remain in english (Previous Post / Next Post).

    • #1711

      Oh, I missed these two words, I will improved in next version.
      Now, you can also change it by yourself.

      1. Edit single.php, find the following codes

      <div class="pagination">
                                              <span class="nav-previous alignleft"><?php previous_post_link( '%link', __( '&larr; Previous Post', 'SimpleKey' ) ); ?></span>
                                              <span class="nav-next alignright"><?php next_post_link( '%link', __( 'Next Post &rarr;', 'SimpleKey' ) ); ?></span>
                                              <div class="clearfix"></div>
                                          </div> 

      2. Change it to:

      <div class="pagination">
                                              <span class="nav-previous alignleft"><?php previous_post_link( '%link', __( '&larr; Previous Post', 'OldCar' ) ); ?></span>
                                              <span class="nav-next alignright"><?php next_post_link( '%link', __( 'Next Post &rarr;', 'OldCar' ) ); ?></span>
                                              <div class="clearfix"></div>
                                          </div>

      3. Open your language file and update it, then you will see “Previous Post” and “Next Post” in the list, just translate them and save the file.

      Thanks!

    • #1715
      flaubier
      Member

      It works fine. Thanks a lot.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.