Many websites provide support for translations and localizations. And while there are already a bunch of
ls* methods that allow localized formatting for dates, numbers, currencies, etc., there is currently no general way to provide localizations. (At least as far as I know. Please let me know if there is something!)
Java obviously already has a way to provide localized messages via
MessageFormat. Though it seems to be limited in its functionality and also only allow to translate single strings.
Lately, I stumbled over the ICU MessageFormat 2.0 draft, which seems quite promising.
It is successor to the currently available version 1.0, which is already available in Java via the ICU4J library, and it is inspired by Fluent and FBT.
Long story short, I suggest to add support for an internationalization system based on the ICU library.
As i18n is pretty common, I believe it should be added as a core functionality. Though it might also make sense to add it as an extension.
Happy to hear any feedback or other ideas!