diff --git a/.i18n-codegen.json b/.i18n-codegen.json new file mode 100644 index 0000000..fecca24 --- /dev/null +++ b/.i18n-codegen.json @@ -0,0 +1,21 @@ +{ + "$schema": "./node_modules/@magic-works/i18n-codegen/schema.json", + "version": 1, + "list": [ + { + "input": "./packages/frontend/i18n/src/resources/en.json", + "output": "./packages/frontend/i18n/src/i18n-generated", + "parser": { + "type": "i18next", + "contextSeparator": "$", + "pluralSeparator": "_" + }, + "generator": { + "type": "i18next/react-hooks", + "hooks": "usesolusI18N", + "emitTS": true, + "shouldUnescape": true + } + } + ] +}