@jsverse/transloco
Version:
The internationalization (i18n) library for Angular
54 lines (53 loc) • 1.36 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"$id": "transloco-ng-add",
"title": "Adds Transloco to a project",
"type": "object",
"properties": {
"langs": {
"description": "The languages of the project.",
"x-prompt": "\uD83C\uDF0D Which languages do you need?",
"type": "string",
"default": "en, es",
"alias": "la"
},
"ssr": {
"description": "If the user is working with server side rendering.",
"x-prompt": "\uD83D\uDE80 Are you working with server side rendering?",
"type": "boolean",
"default": false
},
"loader": {
"description": "The loader strategy for the translate files.",
"type": "string",
"default": "Http",
"enum": ["Http", "Webpack"],
"alias": "lo"
},
"translateType": {
"description": "The translation files type.",
"type": "string",
"default": "JSON",
"enum": ["JSON", "Typescript"],
"alias": "t"
},
"path": {
"type": "string",
"default": "assets/i18n/",
"alias": "p"
},
"project": {
"description": "The project name.",
"type": "string",
"$default": {
"$source": "projectName"
}
},
"module": {
"description": "The root module name.",
"type": "string",
"default": "app"
}
},
"required": []
}