This project can support improving i18n environment as DX.
- β automatically adding a new key from your code to i18n json files
- π·ββοΈ automatically translating via DeepL from one lang to all langs
- π·ββοΈ automatically removing an empty field from i18n json
Status | |
---|---|
typescript | β |
javascript | π· |
react-i18next | β |
vue | π· |
webpack | β |
vite | π· |
webpack.config.js
module.exports = {
module: {
rules: [
{
test: /\.tsx?/,
loader: "@hiroppy/i18n-json-webpack-plugin/lib/loader",
options: {
langs: ["ja", "en"],
basePath: "./public/static/locales",
},
},
],
},
};