Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | feat(renderer): Renderer translations | Kristóf Marussy | 2022-05-16 |
| | | | | | | | | | Add react-i18n to make us able to use i18next translations in the renderer process just like we do in the main process. Translations are hot-reloaded automatically. Signed-off-by: Kristóf Marussy <kristof@marussy.com> | ||
* | feat(main): Add localization support | Kristóf Marussy | 2022-05-16 |
Add i18next with a custom backend to the main process to load localization from file. Missing localizations are written to a missing localizations file in debug mode, but silently fall back in production mode. We will also need to add a custom backend for the renderer process that communicates with the main process. (i18next-fs-electron-backend is not applicable here, because we need localizations both in the main and renderer processes.) Signed-off-by: Kristóf Marussy <kristof@marussy.com> |