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.
Scanned 9/9/2026
Install to Claude Code
npx -y skills add Lord1Egypt/awesome-skill-forge --skill skills-sh_alfredoperez_angular-best-practices_angular-best-practices-transloco --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Skills Sh Alfredoperez Angular Best Practices Angular Best Practices Transloco?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/lord1egypt-skills-sh-alfredoperez-angular-best-practices-angu-8312418a)More formats (shields.io, HTML) on the badges page.
---
name: angular-best-practices-transloco
description: >-
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.
license: MIT
metadata:
author: alfredoperez
version: "1.2.0"
tags: [angular, transloco, i18n, internationalization]
globs:
- "**/*.ts"
- "**/*.html"
- "**/*.json"
---
# Angular Transloco Best Practices
Transloco rules for runtime internationalization, lazy-loaded translations, and testing. Use with the core
[angular-best-practices](https://skills.sh/alfredoperez/angular-best-practices/angular-best-practices)
skill for comprehensive Angular coverage.
## Links
- [Core Skill: angular-best-practices](https://skills.sh/alfredoperez/angular-best-practices/angular-best-practices)
- [Browse All Skills](https://skills.sh/alfredoperez/angular-best-practices)
- [GitHub Repository](https://github.com/alfredoperez/angular-best-practices)
## 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](https://skills.sh/alfredoperez/angular-best-practices):
- Core skill: [angular-best-practices](https://skills.sh/alfredoperez/angular-best-practices/angular-best-practices)
- This add-on: [angular-best-practices-transloco](https://skills.sh/alfredoperez/angular-best-practices/angular-best-practices-transloco)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!