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
translate_without_moirai
def self.translate_without_moirai(key, locale, **) raise "Original backend is not set" unless original_backend original_backend.translate(locale, key, **) end
we should probably check whether the translation exists first, or rescue I18n::MissingTranslation
I18n::MissingTranslation
The text was updated successfully, but these errors were encountered:
This should indeed never happen, right @oliveranthony17 ? If you have moirai, you also have an original backend
Sorry, something went wrong.
@coorasse it raises at original_backend.translate(locale, key, **) due to missing translations
original_backend.translate(locale, key, **)
oliveranthony17
No branches or pull requests
we should probably check whether the translation exists first, or rescue
I18n::MissingTranslation
The text was updated successfully, but these errors were encountered: