Skip to content

About

Simple yet powerful localization library built with blazing-fast okaeri-placeholders

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Repository files navigation

Okaeri Messages (okaeri-i18n)

License Total lines Repo size Contributors Discord

Simple yet powerful localization library built with blazing-fast okaeri-placeholders. Part of the okaeri-platform.

Implementations

  • configs: based on okaeri-configs with support for accessing messages through getters (compile time key checking!)

Example

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();

About

Simple yet powerful localization library built with blazing-fast okaeri-placeholders

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages