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

Support i18n #592

Closed
B4TT3RY opened this issue May 18, 2020 · 5 comments
Closed

Support i18n #592

B4TT3RY opened this issue May 18, 2020 · 5 comments
Labels
feature More Features will be awesome priority Priority issues or bugs that should be reviewed stale issue marked as old news

Comments

@B4TT3RY
Copy link

B4TT3RY commented May 18, 2020

What would you like on Statping?

i want localization
(Web, Notifier, etc...)

Describe the solution you'd like

i18n..?

Slack GitHub release Build Status

@hunterlong
Copy link
Member

hunterlong commented May 19, 2020

This is a needed feature I'd say...

Currently, I have an excel spreadsheet that basically has KEY's in various languages, and the values are the translations in multiple languages. I attempted this a long time ago, but then I had to attend to the most critical issues to make Statping more stable, thus... this was placed on the back burner.

So let's try this again... Statping uses Vue on the frontend, and Gorilla/http packages for the backend, so this would have to be done in 2 different locations, hopefully not duplicating work. (notifications should be in your language too, not just the frontend)

I'll create a new branch that includes both of these packages, and hopefully we can figure out what's exactly needed, and hopefully get others to help with the translations.

@hunterlong hunterlong added feature More Features will be awesome priority Priority issues or bugs that should be reviewed labels May 19, 2020
@hunterlong hunterlong pinned this issue May 19, 2020
@hunterlong
Copy link
Member

Work in progress, but here is the branch. I was able to implement i18n for the frontend, now I just need to find a nice tool to translate and format into JS/JSON files.

#618

Todo

  • Add language inside of Cores, and config.yml. (en,es,de,ru,fr)
  • Implement i18n library for Vue
  • Implement i18n package for Golang (using same language files)
  • Figure out a tool to help this process
  • Implement translation keys throughout the site

@github-actions
Copy link

This issue hasn't had any updates in a while. If this is still a problem, please create a new issue.

@github-actions github-actions bot added the stale issue marked as old news label Jul 18, 2020
@github-actions github-actions bot closed this as completed Aug 1, 2020
@hunterlong
Copy link
Member

As of v0.90.67+, Language is auto generated using AWS Transcode, golang, and a simple key, value CSV in english to the create a JS file for each key, in each language.

@B4TT3RY
Copy link
Author

B4TT3RY commented Nov 10, 2020

As of v0.90.67+, Language is auto generated using AWS Transcode, golang, and a simple key, value CSV in english to the create a JS file for each key, in each language.

Hi! How can i edit language files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature More Features will be awesome priority Priority issues or bugs that should be reviewed stale issue marked as old news
Projects
None yet
Development

No branches or pull requests

2 participants