Dear all I was wondering how can i use i18n to translate next and previous in the will paginate plugin any idea thank --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Kaspars Bankovskis
2009-Mar-13 21:14 UTC
Re: translating next and previous in will paginate
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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Dear all > > I was wondering how can i use i18n to translate next and previous in > the will paginate plugin > > any idea > > thank > > >-- Kaspars Bankovskis --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks it is <%= will_paginate @products, :next_label => t (''links.next''), :prev_label => t(''links.previous'') %> On Mar 13, 11:14 pm, Kaspars Bankovskis <kasp...-fgJ4dvhpd1Q@public.gmane.org> wrote:> 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.za...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Dear all > > > I was wondering how can i use i18n to translate next and previous in > > the will paginate plugin > > > any idea > > > thank > > -- > Kaspars Bankovskis--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---