Replies: 4 comments
-
This is very interesting approach and I would love to see it being done. Right now, as I create PayloadCMS UI in polish, it effectively renders GraphQL unuseable for me. |
Beta Was this translation helpful? Give feedback.
-
Nice! Waiting for it! 👍 |
Beta Was this translation helpful? Give feedback.
-
Not just the GraphQL schema; the generated TypeScript types also use the labels if available. It would be nice if we could set a |
Beta Was this translation helpful? Give feedback.
-
This is now complete! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
A common request that we get is to allow field, collection, and global labels to be generated based on locale or other info.
When we support admin panel i18n, this will be huge, as it could allow Payload devs to generate labels for each admin panel locale—dramatically improving the UX of the admin UI for non-English speakers.
We will need to watch out for the ramifications that this has in GraphQL, as currently we are generating GraphQL schema names based on label, which also should be improved in parallel with this feature.
Marking as planned.
Beta Was this translation helpful? Give feedback.
All reactions