We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When we use !ignore:args, translation missing occurs. This may be a bug.
!ignore:args
## en en: scouts: default_scout_message: example1: !ignore:args '' placeholder: '' ## ja ja: scouts: default_scout_message: example1: "something" placeholder: "something"
## en $> I18n.locale = :en => :en $> I18n.t('scouts.default_scout_message.example1') I18n::MissingTranslationData: translation missing: en.scouts.default_scout_message.example1 from /Users/minami/.go/src/github.com/wantedly/wantedly/config/initializers/i18n_exception_handler.rb:5:in `call' $> I18n.t('scouts.default_scout_message.placeholder') => "" ## ja $> I18n.locale = :ja => :ja $> I18n.t('scouts.default_scout_message.example1') => "something" $> I18n.t('scouts.default_scout_message.placeholder') => "something"
The text was updated successfully, but these errors were encountered:
cc. @creasty
Sorry, something went wrong.
Ah... Seemingly it's rather a bug of yaml parser or of I18n.t when a tag is involved.
I18n.t
en: foo: ''
en: foo: !anytag ''
The first one is just fine whereas the second one becomes an error.
No branches or pull requests
When we use
!ignore:args
, translation missing occurs. This may be a bug.The text was updated successfully, but these errors were encountered: