WordPress.org

Forums

Accesspress Lite
[resolved] Translate 'Older posts / Newer posts' (8 posts)

  1. MennoWebdesign
    Member
    Posted 8 months ago #

    Hi guys,

    Check my website @ http://www.klif18dronten.nl. At the 'Nieuws' link you can check the news messages. At the bottom it will say, 'older posts' i allready checked the core of this theme, at the index-one.php you will find the "older posts'but when i change it nothing happens.

    I installed a widget for translating, but i just cant get it.

    Can please somebody help me with this problem, its the only word still left to translate.

    Thanks in regards for checking it out and giving me a hand.

    MennoWebdesign

  2. MennoWebdesign
    Member
    Posted 8 months ago #

    Anyone? Please, check it out... i really need to get it fixxed.

  3. Access Keys
    Member
    Posted 8 months ago #

    If you are using some translation plugins you should be able to change it.
    If you want to hard code it then check the file in
    accesspress-lite/inc/template-tags.php

  4. Kesantielu
    Member
    Posted 8 months ago #

    index-one.php:358-359

    <div class="nav-previous"><?php previous_posts_link( 'Newer posts') ?></div>
    <div class="nav-next"><?php next_posts_link( 'Older posts') ?></div>

    These strings can't be translated.

    Access Keys, please, change it:

    <div class="nav-previous"><?php previous_posts_link( __('Newer posts','accesspresslite') ?></div>
    <div class="nav-next"><?php next_posts_link( __('Older posts','accesspresslite')) ?></div>
  5. Andrew
    Forum moderator
    Posted 8 months ago #

    Remember that this theme is actively being developed, to hard-code your change in the parent's themes files would likely be a bad thing in terms of maintenance.

    If this change can be made through a Child Theme then it should be.
    http://codex.wordpress.org/Child_Themes#Why_use_a_Child_Theme.3F

  6. MennoWebdesign
    Member
    Posted 8 months ago #

    Okeej thanks guys for the reply! Andrew, didnt knew there were translating plugins so you dont change the hard-code. I will use that in the future.

    @Access Keys, thanks alot accesspress-lite/inc/template-tags.php did work! :) Thanks in regards.

    @Kesentielu, what do you mean with the Acces keys?

    Thanks guys!

  7. Access Keys
    Member
    Posted 8 months ago #

    @MennoWebdesign if you have changed the texts in core files then please don't update on our next release.. Updating your theme will lose all your changes.

    @Kesantielu. Thank you.

  8. MennoWebdesign
    Member
    Posted 8 months ago #

    @Acces Keys, thank you for notice.

Reply

You must log in to post.

About this Theme

About this Topic