I want use i18n internationalization. CRUD its works fine, but with custom routes something wrong. How can I use :local in custum routes like this:
match 'signup' => 'newsletter#signup'
if I use /en/signup it is works, but 开发者_运维技巧/signup says: no route match
Why don't you try to use the i18n_routing gem?
https://github.com/kwi/i18n_routing
It's easy to translate also the name of the action.
精彩评论