padrino/padrino-contrib — pull request #16 by hongliang-goudou (2013-06-20 08:03:33+00:00)
Title: Hello? Anyone still maintain this project? Routing of auto-locale is broken. It needs fix.

The old code is two years ago. Now padrino's routing has changed. The code doesn't work any more. I fixed it by calling the path= method to set the new "/:lang/..." path, instead of set it to the @original_path variable(which doesn't take effect at all now).

Auto-Locale is an elegant implementation. It is useful for i18n website, especially which needs "/en/url", "/zh_cn/url" url-style to get better SEO. Please merge this commit to master and let's make Auto-Locale live again!

Thank you!