Support » Plugin: Posts in Page » Pagination & non-english languages

  • hi & thank you for this plugin!
    I just added the pagination to my posts_in_page-page and noticed it is always in English. Since I am using wordpress in another language, it would be great if you could replace the hardcoded words “Previous” and “Next” by something wordpress-internationalisation can handle. Unfortunately, I’m no Pro, so I just copy&pasted what I found in the theme I use, but I guess that won’t work for all themes.
    I replaced the english words “Previous” and “Next” in these lines
    https://github.com/ivycat/Posts-in-Page/blob/master/lib/page_posts.php#L54-L55

    by, respectively,
    '.__( '<span class="meta-nav">&larr;</span> Older posts', 'twentytwelve' ).'
    and
    '.__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentytwelve' ).'

    http://wordpress.org/plugins/posts-in-page/

  • The topic ‘Pagination & non-english languages’ is closed to new replies.