Skip to content
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

Hyperstack::I18n#t should also check non-namespaced translation #410

Open
adamcreekroad opened this issue Apr 30, 2021 · 0 comments · May be fixed by #411
Open

Hyperstack::I18n#t should also check non-namespaced translation #410

adamcreekroad opened this issue Apr 30, 2021 · 0 comments · May be fixed by #411
Labels
enhancement New feature or request

Comments

@adamcreekroad
Copy link
Contributor

Right now Hyperstack::I18n#t is smart in that it uses the name-spacing to look up the translation. This works great for those, but if we're trying to look up a translation outside of that namespace it will return a missing translation. You can work around this by using I18n.t, which isn't that much more typing, but it would be nice to have the the included helper methods be a little smarter.

@adamcreekroad adamcreekroad added the enhancement New feature or request label Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant