Ruby on Rails Friday, June 8, 2018

this code below fails to work seemingly rails still tries to translate and returns this error: I18nData::NoTranslationAvailable -- countries-EN-US


if I18n.locale == "en-US"
    don't do any translations
end

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/13d63fbe-c09a-4714-bea5-e2d0198b38dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment