mirror of
https://github.com/maputnik/editor.git
synced 2026-03-04 01:10:02 +00:00
It migrates to next gen translation extraction tool and updates other libraries with their relevant changes. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
11 lines
297 B
TypeScript
11 lines
297 B
TypeScript
import { defineConfig } from "i18next-cli";
|
|
|
|
export default defineConfig({
|
|
locales: ["de", "fr", "he", "it", "ja", "ko", "zh"],
|
|
extract: {
|
|
input: ["src/**/*.{js,jsx,ts,tsx}"],
|
|
output: "src/locales/{{language}}/{{namespace}}.json",
|
|
defaultValue: "__STRING_NOT_TRANSLATED__"
|
|
}
|
|
});
|