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

Подключить i18n для javascript #118

Closed
PeresvetS opened this issue Aug 18, 2017 · 2 comments
Closed

Подключить i18n для javascript #118

PeresvetS opened this issue Aug 18, 2017 · 2 comments
Projects

Comments

@PeresvetS
Copy link
Member

Нужно подключить i18n, чтобы слова в js коде при загрузке страницы (например, joined channel) менялись в соотвествии с языком пользователя.

@PeresvetS PeresvetS added this to Ready in Development Aug 18, 2017
@imamatory
Copy link
Contributor

Я вижу реализацию так:

  • Используется i18next.
  • В сборку js подгружаются файлы локализации при помощи i18next-po-loader
  • Текущая локализация прокидывается с бекенда с помощью gon

@PeresvetS PeresvetS moved this from Ready to Doing in Development Sep 11, 2017
@PeresvetS
Copy link
Member Author

Closed #145

@PeresvetS PeresvetS moved this from Doing to Done in Development Sep 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants