hyperstack-org / hyperstack-org/hyperstack

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

Open
#410 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
538
Forks
41
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.