@ngneat/transloco
Version:
The internationalization (i18n) library for Angular
51 lines (50 loc) • 1.3 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"$id": "SchematicsTranslocoAdd",
"title": "Add Transloco to Your 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"
},
"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"
},
"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
},
"path": {
"type": "string",
"default": "assets/i18n/",
"alias": "p"
},
"project": {
"description": "The project name.",
"type": "string"
},
"module": {
"description": "The root module name.",
"type": "string",
"default": "app"
}
},
"required": []
}