ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Translating pagination phrases

September 27, 2010 5:09pm

Subscribe [2]
  • #1 / Sep 27, 2010 5:09pm

    Ramya108

    123 posts

    I would like to change words “last” and “first” in pagination links to Croatian language.
    Is that possible?

  • #2 / Sep 27, 2010 5:29pm

    Ingmar

    29245 posts

    You’ll have to edit core.paginate.php directly.

  • #3 / Sep 27, 2010 6:50pm

    Ramya108

    123 posts

    Found core.paginate.php, trying to figure out what to edit.
    Please, can you help?

  • #4 / Sep 28, 2010 2:18am

    Ingmar

    29245 posts

    Try $first_page and $last_page, at about line 40.

  • #5 / Sep 28, 2010 9:28am

    Ramya108

    123 posts

    Ok, got it! Thank you!

    One more question:
    Is that possible to have more pages listed?

    Ex: Not 1 2 3 Last
    but 1 2 3 4 5 6 Last

  • #6 / Sep 28, 2010 9:34am

    Ingmar

    29245 posts

    Just increase $max_links as desired.

  • #7 / Sep 28, 2010 10:18am

    Ramya108

    123 posts

    Just increase $max_links as desired.

    It worked! Thank you!  😊

  • #8 / Sep 28, 2010 11:34am

    Ramya108

    123 posts

    Ok, I have a small problem.
    After editing core.paginate.php, I get the following error in the top of my screen:

  • #9 / Sep 29, 2010 5:34pm

    Ramya108

    123 posts

    Ok, I resolved the problem.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases