Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph König committed Nov 5, 2010
1 parent 8241c16 commit b3dc126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ Define the available locales inside the array. The locales should be set as symb

h3. Changing language proposal

Since the language handling is processed in a Rack- Application the routing in Rails has no knowledge of the locale part at the path. So you can't use the url generation
to generate href's for changing the language.
Since the language handling is processed in a Rack- Application the routing in Rails has no knowledge about the locale part inside the path.
So you can't use the url generation to generate href's for changing the language.

I created a little helper example to generate these links. The idea is to use the current controller and action and put the new locale in front of it:

Expand Down

0 comments on commit b3dc126

Please sign in to comment.