Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add link to Ryan Tomayko's "locale" Rack middleware to i18n guide

  • Loading branch information...
commit d96483dedff67c817de97c32cc9290a6b581a6e4 1 parent b29972d
@karmi karmi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/doc/guides/source/i18n.txt
View
2  railties/doc/guides/source/i18n.txt
@@ -315,7 +315,7 @@ def extract_locale_from_accept_language_header
end
-------------------------------------------------------
-Of course, in production environment you would need much robust code, and could use a plugin such as Iaian Hecker's http://github.com/iain/http_accept_language[http_accept_language].
+Of course, in production environment you would need much robust code, and could use a plugin such as Iaian Hecker's http://github.com/iain/http_accept_language[http_accept_language] or even Rack middleware such as Ryan Tomayko's http://github.com/rtomayko/rack-contrib/blob/master/lib/rack/locale.rb[locale].
==== Using GeoIP (or similar) database
Please sign in to comment.
Something went wrong with that request. Please try again.