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

Localisation #14

Open
simonmeusel opened this issue Nov 14, 2017 · 2 comments
Open

Localisation #14

simonmeusel opened this issue Nov 14, 2017 · 2 comments

Comments

@simonmeusel
Copy link

simonmeusel commented Nov 14, 2017

Can I somehow pass localised string (for example for found bug?)

But this should probably be added as a feature for this in general

😄

@rhysd
Copy link
Owner

rhysd commented Nov 18, 2017

It would be nice. Do you have any suggestion of i18n library? I haven't tried i18n in JS.

@simonmeusel
Copy link
Author

simonmeusel commented Nov 18, 2017

In my app I used https://github.com/electron/electron/blob/master/docs/api/app.md#appgetlocale to get the language, and then used different JSON files, on for each supported language. (and a fallback language)

See https://github.com/simonmeusel/Quotator

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

2 participants