Routing_locale is a project mainly written in RUBY and JAVASCRIPT, it's free.
Application that use route parameter to set locale
Sample Rails 3 application that using route parameter :locale to set locale of the application. :locale parameter is not mandatory. When it's ommited, locale set to default locale, which is RU.