Keys Extractor
CLI Usage
1
"scripts": {
"extract": "transloco-keys-manager extract"
}2
pnpm extractScopes Support
import { TRANSLOCO_SCOPE, provideTranslocoScope } from '@jsverse/transloco';
@Component({
templateUrl: './admin-page.component.html',
providers: [{ provide: TRANSLOCO_SCOPE, useValue: 'admin' }, provideTranslocoScope('todo'), provideTranslocoScope(['another', { scope: 'reallyLong', alias: 'rl' }])],
})
export class AdminPageComponent {}<ng-container *transloco="let t">{{ t('admin.title') }}</ng-container>📦 assets
┗ 📂 i18n
┃ ┣ 📂 admin
┃ ┃ ┣ en.json
┃ ┃ ┗ es.json
┃ ┣ en.json
┃ ┗ es.jsonInline Loaders
Dynamic Keys
Marker Function
Extra Support
The prefix input:
prefix input:Static ternary operators
Supports params:
Last updated
Was this helpful?

