Translating next and previous in will paginate

Dear all

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

any idea


Kind of this?

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

On Fri, Mar 13, 2009 at 10:41 PM, Shuaib85 [email protected]

Kaspars Bankovskis


it is

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs