-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changing language #45
Comments
I've got the same problem. Let us know if you solve it |
i found a "trick" but very dirty like a said it works but it's no a nice solution |
I solved it little bit less "dirty" way. Just not switching I18n.locale but useing I18n.with_locale I18n.available_locales.each do |locale|
content += content_tag(:li, I18n.with_locale(locale){link_to(locale.to_s.upcase, url_for(:locale => locale))})
end |
didnt' work for me. The list was printed correctly, but after that links are broken in my app with random locales. |
|
Hello,
i would like make links to change language of website
But currently i can't have url translated by language in these links
all links are in the same language (the current of course
how force to use a other language than current
tx
The text was updated successfully, but these errors were encountered: