collection route not translated

23 views
Skip to first unread message

Gouvermxt

unread,
Mar 29, 2011, 10:26:27 AM3/29/11
to I18n Routing
My routes.rb

localized(I18n.available_locales, :verbose => true) do
resources :clients do
get 'search', :on => :collection
end
end

And the yml file:

path_names:
new: cadastrar
edit: editar
routes:
clients:
as: clientes
path_names:
search: buscar

The edit and new pathnames are translated correctly, but the search
path name not. I'm doing something wrong?

Guillaume Luccisano

unread,
Mar 29, 2011, 10:35:33 AM3/29/11
to i18n-r...@googlegroups.com
Hi,

Which version of Rails are you using ? Because there is some incompatibilities that I need to fix in Rails 3.0.5.

2011/3/29 Gouvermxt <gouv...@gmail.com>

Gouvermxt

unread,
Mar 29, 2011, 10:51:28 AM3/29/11
to I18n Routing
I'm using exactly this version. is there any projected date for the
bug fixes? Thanks.

On Mar 29, 10:35 am, Guillaume Luccisano
<guillaume.luccis...@gmail.com> wrote:
> Hi,
>
> Which version of Rails are you using ? Because there is some
> incompatibilities that I need to fix in Rails 3.0.5.
>
> 2011/3/29 Gouvermxt <gouver...@gmail.com>
Reply all
Reply to author
Forward
0 new messages