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
Mobility.with_locale(:de) not working in feature specs #98
Comments
This is really a question for SO, but just quickly: If you want to change the I18n locale, you need to use |
You're right, I wasn't aware of this difference. I'm sorry for polluting your issues tracker. Next time I'll ask on SO. 👍 |
(Thanks though!) |
No worries! The readme could be clearer about this. |
PS: |
I think you need |
I did... I just replaced it with curly braces to make a one-liner here. 😅 |
hmm not really sure, you mean mobility is not showing translations in German? |
No, the Rails routing mechanism still sent me to the english page. |
Well, that's really not a Mobility issue at all... |
Exactly. Just wanted to point it out here for someone else coming from Google or so... 👍 |
When I'm doing the following:
...then the default locale (en) is still active. It only works like so:
The text was updated successfully, but these errors were encountered: