Skip to content

Multi-language localization support for single reverence instance #26

@DarkFenX

Description

@DarkFenX

Initially, i wanted to reimplement localization engine in Phobos to have this feature, however i think proper place for it is in reverence.

What i want cfg._localization to be able to do (not going to change anything above it):

  • Provide list of available languages
  • Be able to fetch message for specified messageID and language

I think this should be rather easy to implement and keep 100% compatibility with current API (use language passed to reverence instance as default, fall back to this default if no language was specified when getting message). If you're fine with it, i can implement it and make a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions