skills/alfredoperez/angular-best-practices/angular-best-practices-transloco

angular-best-practices-transloco

SKILL.md

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

Rule Impact Description
Lazy Load Translation Files per Route MEDIUM Load scoped translations only when a route is activated
Mock Translations in Tests MEDIUM Fast deterministic tests without HTTP translation loading
Use Transloco for Runtime i18n MEDIUM Dynamic language switching without app rebuilds

Install

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

Weekly Installs
65
GitHub Stars
19
First Seen
Feb 10, 2026
Installed on
codex62
github-copilot61
opencode61
gemini-cli59
amp58
kimi-cli58