kwi/i18n_routing — Issue #29: Nested ressources don't work (Rails 3.1.1, Ruby 1.9.2) 
Author: ncri
Created: 2011-10-14 14:05:33+00:00
State: open

Given a nested route like this:

```
localized do
resources :users do
resources :videos
end
end
```

with a path_name translation key

```
locale:
routes:
users:
path_names:
new: translated_new
```

path_names.new is wrongly recognized as belonging to videos and the
new path segment for new_user_path is not translated.

Workaround: removing the nested resource and
adding an extra block:

localized do
resources :users
end

resources :users do
localized do
resources :videos
end
end

However, this is not very clean and I also don't know where to store
the translations for the nested videos resource.