Complete reference for the .gleef/config.json configuration file
.gleef/config.json
file controls how Gleef CLI processes your localization files. This file is created automatically by gleef init
but can be customized for complex project setups.
string[]
Pattern | Matches |
---|---|
src/*.json | src/en.json , src/fr.json |
locales/**/*.json | locales/en/common.json , locales/fr/auth.json |
*.{json,yaml} | en.json , fr.yaml |
!**/test.json | Excludes any test.json files |
object
nested
(boolean): Use nested object structure vs flat keysnested
(boolean): Use nested elements vs flat structurenested
(boolean): Use nested structure vs flat keysobject
fr
instead of fr-FR
)