
Add callbacks for listening to new locale loads in TranslationManager
me4502 opened this issue ยท 0 comments
The Problem
Platforms, such as Paper, provide server-side translation registries that allow adding translation keys to text that plugins cannot control. These require registering translation strings to these registries. As our system loads locales on demand, we currently cannot do this without force-loading all locales.
A Solution
If we add callback listeners that run on locale load, we can dynamically register these locales with the platform translation registries as they load.
Alternatives
No response
Anything Else?
No response