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

Multi-language localization support for single reverence instance #26

Open
DarkFenX opened this issue Sep 22, 2014 · 0 comments
Open

Multi-language localization support for single reverence instance #26

DarkFenX opened this issue Sep 22, 2014 · 0 comments

Comments

@DarkFenX
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant