생성:2026-06-13마지막 업데이트:2026-06-13
이 문서를 원하는 AI 어시스턴트에 참조하세요ChatGPTClaudeDeepSeekGoogle AI modeGeminiPerplexityMistralGrok
이 페이지와 원하는 AI 어시스턴트를 사용하여 문서를 요약합니다
버전 기록
- "Init history"v9.0.02026. 6. 13.
이 페이지의 콘텐츠는 AI를 사용하여 번역되었습니다.
영어 원본 내용의 최신 버전을 보기Edit this doc
If you have an idea for improving this documentation, please feel free to contribute by submitting a pull request on GitHub.
GitHub link to the documentationCopy
Copy doc Markdown to clipboard
Migrate from NGX-Translate to Intlayer
Migrating your Angular application from ngx-translate to Intlayer is easy with the compat adapter, allowing you to bypass the need to rewrite all your templates.
What to do
Begin by running:
bash
코드 복사
코드를 클립보드에 복사
npx intlayer initThis sets up the intlayer.config.ts. Replace your TranslateModule.forRoot() setups and import aliases appropriately to point to @intlayer/ngx-translate.
What it does under the hood
ngx-translate uses TranslateService (instant, get, stream) alongside the {{ 'KEY' | translate:params }} pipe and the [translate] directive.
Under the hood:
- Services:
TranslateServicewrapsgetIntlayerand a locale observable, providing exactly the same methods. - Pipes & Directives: Re-implemented to resolve against Intlayer dictionaries directly.
- Loaders:
TranslateHttpLoadersetups are converted to warning stubs because Intlayer inherently resolves and bundles your dictionaries at build time (or through standard dynamic imports), completely eliminating the need for HTTP loaders.