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 message support #53

Closed
200sc opened this issue Sep 28, 2017 · 0 comments · Fixed by #161
Closed

Multi-language message support #53

200sc opened this issue Sep 28, 2017 · 0 comments · Fixed by #161
Projects
Milestone

Comments

@200sc
Copy link
Contributor

200sc commented Sep 28, 2017

Every message the engine outputs (as an error or otherwise) should be able to be localized to non-English languages as we get support for those languages. The act of translating our messages to other languages isn't going to happen any time soon realistically, but we should at least support the potential for this in the future.

Oak has a SetLang function but it isn't used for anything. The idea for this would be to move strings off to a subpackage, like oakerr but maybe with a different name (maybe oak/lang + oak/lang/oakerr) and add in support for 639-2 languages using the codes in https://godoc.org/golang.org/x/text/language.

@200sc 200sc added this to the Unplanned milestone Sep 28, 2017
@200sc 200sc added this to In progress in Oak 3.0 Mar 28, 2021
@200sc 200sc moved this from In progress to Next Release (beta2) in Oak 3.0 Jun 15, 2021
@200sc 200sc moved this from To Do: Next Release (final) to Done in Oak 3.0 Aug 14, 2021
@200sc 200sc linked a pull request Sep 2, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Oak 3.0
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant