New admin i18n #6222
nerijunior
started this conversation in
New Admin UI/UX
New admin i18n
#6222
Replies: 1 comment
-
This is a great finding. Thanks. We should address that. I will create an issue out of this. |
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.
-
Hi, first time using Solidus, and the new UI looks amazing, but I'm facing some issues translating that.
Looking at the
solidus_admin
implementation, every component loads its own.yml
file and uses the strings related to the parent-child relation, e.g:The component
SolidusAdmin::Users::Edit::Component
will generate the user/edit screen that will generate some tabs and use the tabs strings fromapp/components/solidus_admin/users/edit/component.yml
, inside the Ruby code it's calling something liket('.account'),
, so I need to have a structure like that at the yml fileThe problem is that inside
users/edit
we have 5 tabs, and when I go to another tab, it should reuse the same strings, but to have all pages translated, I need to duplicate all the tabs strings to the 5 tabs like this:Is there a better way to do that?
I tried to use
solidus_i18n
, but I think it's not updated regarding the new admin UI.Beta Was this translation helpful? Give feedback.
All reactions