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
Given:
en: steps: 1: "First step" 2: "Second step"
I'm able to successfully use rails built in translations = t("steps.1").
= t("steps.1")
But text_helpers gem fails = text("steps.1") to find the translation; unless I change 1 to one (which makes it more difficult to iterate over).
text_helpers
= text("steps.1")
1
one
The text was updated successfully, but these errors were encountered:
I poked at this a bit and am not sure how this works in rails, but not in text_helpers. A workaround is to use keys like this:
en: steps: "1": "First step" "2": "second step"
Sorry, something went wrong.
No branches or pull requests
Given:
I'm able to successfully use rails built in translations
= t("steps.1")
.But
text_helpers
gem fails= text("steps.1")
to find the translation; unless I change1
toone
(which makes it more difficult to iterate over).The text was updated successfully, but these errors were encountered: