Forum: Ruby on Rails translating next and previous in will paginate

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Shuaib Z. (Guest)
on 2009-03-13 22:42
(Received via mailing list)
Dear all

I was wondering how can i use i18n to translate next and previous in
the will paginate plugin

any idea

Kaspars Bankovskis (Guest)
on 2009-03-14 14:44
(Received via mailing list)
Kind of this?

<%= will_paginate @posts, :previous_label => t('previous'),
:next_label => t('next') %>

On Fri, Mar 13, 2009 at 10:41 PM, Shuaib85 
Kaspars Bankovskis
Shuaib Z. (Guest)
on 2009-03-14 16:21
(Received via mailing list)

it is

<%= will_paginate @products, :next_label => t
(''), :prev_label => t('links.previous') %>
This topic is locked and can not be replied to.