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

Integrate localization framework in casper signer v2 #46

Closed
piotrwitek opened this issue Apr 8, 2022 · 1 comment
Closed

Integrate localization framework in casper signer v2 #46

piotrwitek opened this issue Apr 8, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@piotrwitek
Copy link
Contributor

piotrwitek commented Apr 8, 2022

It should implement all the following parts from the casper explorer:

  • apps/web/src/app/i18n.ts
  • apps/web/src/app/language-detector.ts
  • apps/web/src/app/domain/language.ts
  • translate all existing strings using react-i18next
  • implement following npm scripts so they work the same as in casper explorer:
    • "locale:extract_pot": "i18next 'apps/web/src/**/*.{ts,tsx}' && node scripts/locale_extract_pot.js"
    • "locale:update_translations": "node scripts/locale_update_translations.js"
@vladimir-gachkovsky
Copy link
Contributor

Solution in PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants