Simple yet powerful localization library built with blazing-fast okaeri-placeholders. Part of the okaeri-platform.
- configs: based on okaeri-configs with support for accessing messages through getters (compile time key checking!)
See full examples in the tests.
// example of manual transformation to String
this.i18n.get(sender, this.messages.getExampleMessage()).apply();
// example of fields use
this.i18n.get(sender, this.messages.getExampleMessage())
.with("name", "John")
.with("age", 123)
.apply();