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

DRAFT: I18n #59

Merged
merged 109 commits into from
Jan 13, 2022
Merged

DRAFT: I18n #59

merged 109 commits into from
Jan 13, 2022

Conversation

biwano
Copy link
Collaborator

@biwano biwano commented Jan 2, 2022

  • Used time-delta for prettifyseconds localization

Atmosfearful and others added 30 commits December 10, 2021 13:32
* links on landing page according to specs

* fixed styling on Github and Twitter icons
Updated .prettierignore
* feat: add component CheckURLBanner

* feat: render banner on initial load
* chore: add prettier

* style: add format script to root

* build: remove prettier from root

* docs: add script to README
* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>
@Atmosfearful Atmosfearful merged commit e5e7f9a into KlimaDAO:i18n Jan 13, 2022
Atmosfearful added a commit that referenced this pull request Jan 15, 2022
* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* add prettier and enhance eslint

* prettier & eslint fixes

* run prettier when building apps

* links on landing page according to specs (#47)

* links on landing page according to specs

* fixed styling on Github and Twitter icons

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Increase rounding precision of next rebase value (#53)

* Add Check URL banner (#50)

* feat: add component CheckURLBanner

* feat: render banner on initial load

* upgrade to latest version of typescript

* Commited package-lock.json

* add redirect for /wrap hashroute

* Add format-all with prettier script (#51)

* chore: add prettier

* style: add format script to root

* build: remove prettier from root

* docs: add script to README

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* use React state for checkURLBanner

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* Basic translation framework to the site module

* Fixed time-delta types not being recognized

* site module: Added locales menu

* site: Use nextjs router for localization

* Fixed errors on production builds

* bond trans_id tags added

* redeem trans_id tags added

* pklima trans_id tags added

* pklima ClaimExceedModal trans_id tags added

* Bond/AdvancedSettings trans_id tags added

* Wrap trans_id tags added

* social media links open in new tab (#57)

* social media links open in new tab

* prettier

* chore: add pr template (#60)

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* site/Home trans_id tags added

* Increase rounding precision of next rebase value (#53)

* Add Check URL banner (#50)

* feat: add component CheckURLBanner

* feat: render banner on initial load

* upgrade to latest version of typescript

* add redirect for /wrap hashroute

* Add format-all with prettier script (#51)

* chore: add prettier

* style: add format script to root

* build: remove prettier from root

* docs: add script to README

* Integrated time-delta to have localized prettifiedSeconds

* use React state for checkURLBanner

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* Basic translation framework to the site module

* Fixed time-delta types not being recognized

* site module: Added locales menu

* site: Use nextjs router for localization

* Fixed errors on production builds

* i18n minimal

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Commited package-lock.json

* upgrade to latest version of typescript

* Integrated time-delta to have localized prettifiedSeconds

* use React state for checkURLBanner

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* Basic translation framework to the site module

* Fixed time-delta types not being recognized

* site module: Added locales menu

* site: Use nextjs router for localization

* Fixed errors on production builds

* Integrated time-delta to have localized prettifiedSeconds

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* Basic translation framework to the site module

* site module: Added locales menu

* site: Use nextjs router for localization

* Prevented i18nProvider from remounting the child components

* Merged sirthus/sirthus

* Added pseudo localization

* Complete tags in site/Home

* Added tags to tour messages

* Added app/ChooseBond tags

* Added translation tags to app/pklima

* Added tags to app/Bond

* Added more tags to app/Bond

* Hide language menu in production

* Removed compiled locales from repository

* Removed dependency towards time-delta

* Fixes for failing build

* Updated texts regarding dates

* Fixed prettier issue in Bond/index.tsx

* Fixed import style of loadTranslations in site

* Prettier fix

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: Vienio99 <73585288+Vienio99@users.noreply.github.com>
Co-authored-by: Marcus Aurelius <91024694+0xAurelius@users.noreply.github.com>
Co-authored-by: ladytrekker <95881624+ladytrekker@users.noreply.github.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>
Co-authored-by: sirthus <sirthus01@gmail.com>
Atmosfearful added a commit that referenced this pull request Jan 15, 2022
* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* DRAFT: I18n (#59)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* add prettier and enhance eslint

* prettier & eslint fixes

* run prettier when building apps

* links on landing page according to specs (#47)

* links on landing page according to specs

* fixed styling on Github and Twitter icons

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Increase rounding precision of next rebase value (#53)

* Add Check URL banner (#50)

* feat: add component CheckURLBanner

* feat: render banner on initial load

* upgrade to latest version of typescript

* Commited package-lock.json

* add redirect for /wrap hashroute

* Add format-all with prettier script (#51)

* chore: add prettier

* style: add format script to root

* build: remove prettier from root

* docs: add script to README

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* use React state for checkURLBanner

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* Basic translation framework to the site module

* Fixed time-delta types not being recognized

* site module: Added locales menu

* site: Use nextjs router for localization

* Fixed errors on production builds

* bond trans_id tags added

* redeem trans_id tags added

* pklima trans_id tags added

* pklima ClaimExceedModal trans_id tags added

* Bond/AdvancedSettings trans_id tags added

* Wrap trans_id tags added

* social media links open in new tab (#57)

* social media links open in new tab

* prettier

* chore: add pr template (#60)

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* site/Home trans_id tags added

* Increase rounding precision of next rebase value (#53)

* Add Check URL banner (#50)

* feat: add component CheckURLBanner

* feat: render banner on initial load

* upgrade to latest version of typescript

* add redirect for /wrap hashroute

* Add format-all with prettier script (#51)

* chore: add prettier

* style: add format script to root

* build: remove prettier from root

* docs: add script to README

* Integrated time-delta to have localized prettifiedSeconds

* use React state for checkURLBanner

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* Basic translation framework to the site module

* Fixed time-delta types not being recognized

* site module: Added locales menu

* site: Use nextjs router for localization

* Fixed errors on production builds

* i18n minimal

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Commited package-lock.json

* upgrade to latest version of typescript

* Integrated time-delta to have localized prettifiedSeconds

* use React state for checkURLBanner

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* Basic translation framework to the site module

* Fixed time-delta types not being recognized

* site module: Added locales menu

* site: Use nextjs router for localization

* Fixed errors on production builds

* Integrated time-delta to have localized prettifiedSeconds

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* Basic translation framework to the site module

* site module: Added locales menu

* site: Use nextjs router for localization

* Prevented i18nProvider from remounting the child components

* Merged sirthus/sirthus

* Added pseudo localization

* Complete tags in site/Home

* Added tags to tour messages

* Added app/ChooseBond tags

* Added translation tags to app/pklima

* Added tags to app/Bond

* Added more tags to app/Bond

* Hide language menu in production

* Removed compiled locales from repository

* Removed dependency towards time-delta

* Fixes for failing build

* Updated texts regarding dates

* Fixed prettier issue in Bond/index.tsx

* Fixed import style of loadTranslations in site

* Prettier fix

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: Vienio99 <73585288+Vienio99@users.noreply.github.com>
Co-authored-by: Marcus Aurelius <91024694+0xAurelius@users.noreply.github.com>
Co-authored-by: ladytrekker <95881624+ladytrekker@users.noreply.github.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>
Co-authored-by: sirthus <sirthus01@gmail.com>

* lingui:extract

* extract lingui

* add classnames lib to all workspaces

* fix bond styles

* add change language button to dapp

* fix text align in french

* fix emotion typography font sizes

* add comment

* cleanup: remove dead imports, add language button

* remove empty props interface

* fix menu placement

* extract and clean translations

* add extract-strings top-level helper

* always run lingui --clean

* add TODO comment reference to NODE_ENV hack

* extract strings

* add language switcher to site

* trigger preview build

* fix style import for bond view

Co-authored-by: biwano <biwano@gmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>
Co-authored-by: Vienio99 <73585288+Vienio99@users.noreply.github.com>
Co-authored-by: Marcus Aurelius <91024694+0xAurelius@users.noreply.github.com>
Co-authored-by: ladytrekker <95881624+ladytrekker@users.noreply.github.com>
Co-authored-by: sirthus <sirthus01@gmail.com>
@rstycedar rstycedar mentioned this pull request Jan 19, 2022
3 tasks
ArchimedesCrypto pushed a commit that referenced this pull request Jan 20, 2022
* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* DRAFT: I18n (#59)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* add prettier and enhance eslint

* prettier & eslint fixes

* run prettier when building apps

* links on landing page according to specs (#47)

* links on landing page according to specs

* fixed styling on Github and Twitter icons

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Increase rounding precision of next rebase value (#53)

* Add Check URL banner (#50)

* feat: add component CheckURLBanner

* feat: render banner on initial load

* upgrade to latest version of typescript

* Commited package-lock.json

* add redirect for /wrap hashroute

* Add format-all with prettier script (#51)

* chore: add prettier

* style: add format script to root

* build: remove prettier from root

* docs: add script to README

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* use React state for checkURLBanner

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* Basic translation framework to the site module

* Fixed time-delta types not being recognized

* site module: Added locales menu

* site: Use nextjs router for localization

* Fixed errors on production builds

* bond trans_id tags added

* redeem trans_id tags added

* pklima trans_id tags added

* pklima ClaimExceedModal trans_id tags added

* Bond/AdvancedSettings trans_id tags added

* Wrap trans_id tags added

* social media links open in new tab (#57)

* social media links open in new tab

* prettier

* chore: add pr template (#60)

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* site/Home trans_id tags added

* Increase rounding precision of next rebase value (#53)

* Add Check URL banner (#50)

* feat: add component CheckURLBanner

* feat: render banner on initial load

* upgrade to latest version of typescript

* add redirect for /wrap hashroute

* Add format-all with prettier script (#51)

* chore: add prettier

* style: add format script to root

* build: remove prettier from root

* docs: add script to README

* Integrated time-delta to have localized prettifiedSeconds

* use React state for checkURLBanner

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* Basic translation framework to the site module

* Fixed time-delta types not being recognized

* site module: Added locales menu

* site: Use nextjs router for localization

* Fixed errors on production builds

* i18n minimal

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Commited package-lock.json

* upgrade to latest version of typescript

* Integrated time-delta to have localized prettifiedSeconds

* use React state for checkURLBanner

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* Basic translation framework to the site module

* Fixed time-delta types not being recognized

* site module: Added locales menu

* site: Use nextjs router for localization

* Fixed errors on production builds

* Integrated time-delta to have localized prettifiedSeconds

* Translation framework (#43)

* update package-lock files

* update gitignores

* i18n minimal

* Fixed newline add end of file in config files

* Trying to add a postinstall script to compile translations so the application deploys properly on Vercel

* Nicer localization menu

* Translated Home

* Save selected language in LocalStorage

* Translation: Stake page

* Updated translation files

* Optimized package.json dependencies

* Rebased with klima/staging

* Made files pretty.
Updated .prettierignore

* Commiting compiled translation files

* Fixed merge of .prettierignore

* Commited package-lock.json

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>

* Integrated time-delta to have localized prettifiedSeconds

* Basic translation framework to the site module

* site module: Added locales menu

* site: Use nextjs router for localization

* Prevented i18nProvider from remounting the child components

* Merged sirthus/sirthus

* Added pseudo localization

* Complete tags in site/Home

* Added tags to tour messages

* Added app/ChooseBond tags

* Added translation tags to app/pklima

* Added tags to app/Bond

* Added more tags to app/Bond

* Hide language menu in production

* Removed compiled locales from repository

* Removed dependency towards time-delta

* Fixes for failing build

* Updated texts regarding dates

* Fixed prettier issue in Bond/index.tsx

* Fixed import style of loadTranslations in site

* Prettier fix

Co-authored-by: Atmosfearful <atmosfearful@protonmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: Vienio99 <73585288+Vienio99@users.noreply.github.com>
Co-authored-by: Marcus Aurelius <91024694+0xAurelius@users.noreply.github.com>
Co-authored-by: ladytrekker <95881624+ladytrekker@users.noreply.github.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>
Co-authored-by: sirthus <sirthus01@gmail.com>

* lingui:extract

* extract lingui

* add classnames lib to all workspaces

* fix bond styles

* add change language button to dapp

* fix text align in french

* fix emotion typography font sizes

* add comment

* cleanup: remove dead imports, add language button

* remove empty props interface

* fix menu placement

* extract and clean translations

* add extract-strings top-level helper

* always run lingui --clean

* add TODO comment reference to NODE_ENV hack

* extract strings

* add language switcher to site

* trigger preview build

* fix style import for bond view

Co-authored-by: biwano <biwano@gmail.com>
Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com>
Co-authored-by: bilponse <bilponse@localhost.localdomain>
Co-authored-by: Vienio99 <73585288+Vienio99@users.noreply.github.com>
Co-authored-by: Marcus Aurelius <91024694+0xAurelius@users.noreply.github.com>
Co-authored-by: ladytrekker <95881624+ladytrekker@users.noreply.github.com>
Co-authored-by: sirthus <sirthus01@gmail.com>
@biwano biwano deleted the i18n branch February 25, 2022 08:58
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.

6 participants