i18n lookup
#413
Replies: 1 comment
-
|
@alec-c4 this feels like it's probably not related to packwerk since shopify/packwerk is for static analysis. How are you loading your files under app/packages? Are you using other dependencies? One thing that stood out to me about your folder structure as unexpected is that your views subdir isn't under app, it's a sibling to where app/ would be. If you're using a mechanism for loading from app/packages sub directories that mirrors rails' zeitwerk loader, that could be a problem |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey!
I'd like to add packwerk to my project, but there is an issue with i18n keys lookup. Earlier I used key
admin.users.edit.title, but now I need to useadmin.views.admin.users.edit.titlefor package views, located inapp/packages/admin/views/edit.html.erb. Is there any ability to uset('.title')in the package views and to lookupadmin.users.edit.titlein theapp/packages/admin/config/locales/*.yml??Beta Was this translation helpful? Give feedback.
All reactions