Translating next and previous in will paginate


#1

Dear all

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

any idea

thank


#2

Kind of this?

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

On Fri, Mar 13, 2009 at 10:41 PM, Shuaib85 removed_email_address@domain.invalid
wrote:


Kaspars Bankovskis


#3

Thanks

it is

<%= will_paginate @products, :next_label => t
(‘links.next’), :prev_label => t(‘links.previous’) %>