-
Notifications
You must be signed in to change notification settings - Fork 264
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
undefined method `sample' #202
Comments
This happens because i18n-tasks doesn't have its messages translated to French. |
Can you post the new stack trace and the output of |
|
|
|
The I'll move it to task :i18n_health do
I18n.with_locale 'en' do
I18n::Tasks::CLI.new.run(['health'])
end
end This line is unnecessary: I18n.locale = :fr |
Ok, it works for me like this. |
Simplifies direct usage of the run method. Refs #202
I run i18n_tasks in a locale without provided translation (fr). But it's fails on a:
I unsuccessfully locate where come from the sample method.
The text was updated successfully, but these errors were encountered: