awake - pagenavi translation

resolved (8 posts) (3 voices)

  1. ollimil
    Member

    Hello there,

    one short question.

    Where can I translate the part "Page X of X" in the wp-pagenavi script. I need a german translation.
    Couldn´t find id in the wp-pagenavi.php.

    Thank you very much, Olli

    Posted 1 year ago #
  2. Dorian
    Support

    Hi Olli,

    In the wp-pagenavi.php file, located in \lib\includes\, look for line 202, which looks like this:

    $pagenavi_options['pages_text'] = __('Page %CURRENT_PAGE% of %TOTAL_PAGES%','wp-pagenavi');

    Let me know if this is what you are looking for!

    Cheers,
    Dorian

    Posted 1 year ago #
  3. ollimil
    Member

    Hi Dorian,

    thanks for your quick answer.

    This is what I´ve tried before.

    It´s strange, I change the line

    $pagenavi_options['pages_text'] = __('Page %CURRENT_PAGE% of %TOTAL_PAGES%','wp-pagenavi');

    but nothing happened, even when I delete it (also when I delete the whole part from line 195 to the end).

    I´ve no idea ...

    Thanks again, Olli

    Posted 1 year ago #
  4. Dorian
    Support

    Hi Olli,

    I'd suggest you to try clearing the cache once you've modified the file, and also reactivate the theme (deactivate and reactivate). Let me know if this worked!

    Cheers,
    Dorian

    Posted 1 year ago #
  5. ollimil
    Member

    Hi Dorian,

    I´ve done all ;-) but nothing happened - in different browsers on different machines ...

    With the original stand-alone wp-pagenavi-plugin you get an option panel in the backend, where you can change this term.
    In your theme, the code for the backend option is in the wp-pagenavi.php, but in the wordpress backend there is no such option to change it.

    May be this is the issue?

    Thanks again, Olli

    Posted 1 year ago #
  6. Elliott
    Support

    Hello ollimil,

    The fix that Dorian provided should work for you. Do you have the WP page navi plugin installed? If that is so then go ahead and delete it from your plugin folder and clear your cache.

    Posted 1 year ago #
  7. Elliott
    Support

    ollimil,

    I forgot that this was being cached, see this thread..

    http://mysitemyway.com/support/topic/language-pagination#post-3017

    Sorry about that.

    Posted 1 year ago #
  8. ollimil
    Member

    Hello Elliot,

    strange, that is the solution!

    Thank you very much,

    Olli

    Posted 1 year ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme