summaryrefslogtreecommitdiffstats
path: root/src/utils/helpers/i18n.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(config): move config from config dir to utilsArmand Philippot2022-01-291-2/+2
|
* chore: replace lingui functions with react-intlArmand Philippot2022-01-291-1/+22
|
* chore(i18n): replace i18n provider and helpersArmand Philippot2022-01-291-75/+17
|
* fix: handle translation with linguiArmand Philippot2022-01-281-22/+72
| | | | | | | | The previous method was not working so I tried a different approach. Translation is loaded but I'm still getting warnings: * Plurals for locale undefined aren't loaded * Text content did not match I can't figure how to fix them...
* refactor(config): move defaultLocale as property of config.localesArmand Philippot2022-01-191-1/+2
| | | | | I will need the country code, so I think it makes more sense to gather them inside the same property.
* chore: load i18n translations using lingui providerArmand Philippot2021-12-131-0/+35