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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
408a4e38946d3aa2fca0450ec357d06a?d=identicon&s=25 Shuaib Zahda (shuaib85)
on 2009-03-13 21: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

thank
F03bd1ef0e81c6d28876efceaa290662?d=identicon&s=25 Kaspars Bankovskis (Guest)
on 2009-03-14 13: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 <shuaib.zahda@gmail.com>
wrote:
>
--
Kaspars Bankovskis
408a4e38946d3aa2fca0450ec357d06a?d=identicon&s=25 Shuaib Zahda (shuaib85)
on 2009-03-14 15:21
(Received via mailing list)
Thanks

it is

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