-
Notifications
You must be signed in to change notification settings - Fork 87
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
Additional languages in themes #2877
Comments
Thank you for this issue (that wasn't on my radar, sorry). If you want to use any language, you can override default |
Thanks for looking into that.
Yes, that's clear and that works without issues!
In general, my use case is to tweak translations in my theme to make them relevant to my project. Those are very small tweaks, yet still very important. At the moment I can do it for languages that already exist in Would there be any drawbacks if we register English in |
Detailed Description
Disclaimer: I might be overcomplicating/misunderstanding how it's supposed to work.
In my theme for
udata
I'd like to add a.po
file for English language so that I could tweak text by changing translations rather thanmsgid
s. But generally speaking, it's no different from a use case when someone wants to add a completely new language to their theme.It seems to be not possible at the moment as only languages registered in
udata
will be taken into account and overridden by translations in the theme.Context
When I develop a theme, I want to add languages that aren't part of udata, so I can customize theme independently.
Possible Implementation
udata
pick up languages from the theme once it's injectedudata
udata
, including English (not desirable)Your Environment
N/A
The text was updated successfully, but these errors were encountered: