-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Devises I18n #1699
Comments
Thank you for your interest in contributing to Devise but we have decided to not have internationalized views within Devise since they make it harder for people that do not need an internationalized application (which are the majority of the cases) to maintain their view. |
In case someone need it it could be found at "git://github.com/nortcele/devise.git". Yours |
@josevalim It's not clear decision, because we already have file |
+1 |
+1 Is there any reason we can't be make the views internationalized, then add a flag to the generator task --locale :en which would pre-parse them with a hardcoded language? It seems that Devise is going against the trend of the community to have commonly used gems internalized, including Rails itself. I'm using https://github.com/mcasimir/devise-i18n-views for now. |
This sentence is misleading. Does Rails scaffold generate files containing Devise supports I18n since day one: flash messages, helpers, models and so on. We just don't ship views with the But Devise is not going to make it harder for people that do not need an internationalized application (which are the majority of the cases) to maintain their view by inserting the |
Is the following worth considering (which could give the best of both worlds):
|
There are already gems that do it. We are not particularly looking for more code to maintain. :) |
I internationalized Devise's views. What is the best way to submit my work?
The text was updated successfully, but these errors were encountered: