Skip to content
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

[Task] Support localization of Automated Analysis #210

Open
Tracked by #1464
maxcao13 opened this issue Apr 20, 2023 · 0 comments
Open
Tracked by #1464

[Task] Support localization of Automated Analysis #210

maxcao13 opened this issue Apr 20, 2023 · 0 comments
Labels
chore Refactor, rename, cleanup, etc.

Comments

@maxcao13
Copy link
Member

It looks like JMC is handling this with good old Java MessageFormat, ResourceBundle, etc. From what I can tell it just lets the ResourceBundle use the default locale that the JVM picked on startup, which it would have determined from environment variables etc. We will probably need to do some hacking, or offer some patches to JMC for their Rules package, so that it's possible to get these rules report results with an override for the locale, in case the JVM is serving results to remote users like in our case. Otherwise if we need to hack it, then I'm not sure the threadsafety of setting the JVM's global locale, but maybe we can explore options around there.
Originally posted by @andrewazores in cryostatio/cryostat-web#968 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Refactor, rename, cleanup, etc.
Projects
No open projects
Status: Stretch Goals
Development

No branches or pull requests

1 participant