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

Replace existing localization system with Transifex Native #764

Merged
merged 24 commits into from
Jun 23, 2021

Conversation

BasixKOR
Copy link
Contributor

@BasixKOR BasixKOR commented Jun 15, 2021

This PR aims to replace all the existing useLocale calls to appropriate Transifex Native API calls. However there are some pitfalls, mainly multiple string entries being replaced to simple multiline strings.

Note that this PR is pretty much WIP, and there are major issues to be resolved before merging this into upstream.

  • Connect Transifex API keys
  • Automatic string update, preferably with GitHub Actions
  • Find a way to use current API with Monster Collections system. Postponed.

@BasixKOR BasixKOR marked this pull request as ready for review June 18, 2021 10:30
@BasixKOR
Copy link
Contributor Author

Oh right, before merging this please make sure to put Transifex API keys to GitHub secrets. Without it the action will not be able to update translations!

src/renderer/components/RetypePasswordForm.tsx Outdated Show resolved Hide resolved
src/renderer/components/RetypePasswordForm.tsx Outdated Show resolved Hide resolved
src/renderer/stores/game.ts Outdated Show resolved Hide resolved
src/renderer/views/account/AccountView.tsx Outdated Show resolved Hide resolved
@riemannulus
Copy link
Member

PTAL @longfin 🙏

@riemannulus riemannulus merged commit ac7b8e6 into planetarium:development Jun 23, 2021
@longfin longfin mentioned this pull request Jul 6, 2021
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

Successfully merging this pull request may close these issues.

None yet

4 participants