angular-best-practices-transloco

Transloco i18n best practices for Angular. Covers runtime translation, lazy-loaded translation files per route, and test mocking. Activates when working with @jsverse/transloco. Do not use for ngx-translate or i18next. Install alongside angular-best-practices for full coverage.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "angular-best-practices-transloco" with this command: npx skills add alfredoperez/angular-best-practices/alfredoperez-angular-best-practices-angular-best-practices-transloco

Angular Transloco Best Practices

Transloco rules for runtime internationalization, lazy-loaded translations, and testing. Use with the core angular-best-practices skill for comprehensive Angular coverage.

Links

When to Apply

  • Adding runtime i18n with the transloco pipe or directive
  • Lazy-loading translation files per route with scopes
  • Writing tests that use TranslocoTestingModule

Rules

RuleImpactDescription
Lazy Load Translation Files per RouteMEDIUMLoad scoped translations only when a route is activated
Mock Translations in TestsMEDIUMFast deterministic tests without HTTP translation loading
Use Transloco for Runtime i18nMEDIUMDynamic language switching without app rebuilds

Install

Install from skills.sh/alfredoperez/angular-best-practices:

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

angular-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
General

angular-best-practices-primeng

No summary provided by upstream source.

Repository SourceNeeds Review
General

angular-best-practices-signalstore

No summary provided by upstream source.

Repository SourceNeeds Review
General

angular-best-practices-ngrx

No summary provided by upstream source.

Repository SourceNeeds Review