feat: Add basic translation framework
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
10
i18next-parser.config.js
Normal file
10
i18next-parser.config.js
Normal file
@@ -0,0 +1,10 @@
|
||||
module.exports = {
|
||||
defaultNamespace: 'translation',
|
||||
lexers: {
|
||||
js: ['JsxLexer'], // we're writing jsx inside .js files
|
||||
default: ['JavascriptLexer'],
|
||||
},
|
||||
locales: ['en', 'de'],
|
||||
output: 'public/lang/$LOCALE.json',
|
||||
input: [ 'src/*.js', 'public/*.html', ],
|
||||
}
|
||||
Reference in New Issue
Block a user