MCPcopy Index your code
hub / github.com/ngx-translate/core

github.com/ngx-translate/core @v18.0.0 sqlite

repository ↗ · DeepWiki ↗ · release v18.0.0 ↗
426 symbols 1,022 edges 74 files 43 documented · 10%
README

@ngx-translate/core Buildstatus npm version

The internationalization (i18n) library for Angular.

Angular 16 - 21

The new documentation now covers installation on Angular 16+ and is divided into smaller, more readable sections, making it easier to digest than this big README. It also documents the additional interfaces and explains how to develop custom plugins.

In addition to that, a getting started tutorial is available here: How to Translate Your Angular App with NGX-Translate

Support for older versions

We only support the current version with new updates and fixes.

When using an EOL (End Of Lifetime) version, you have a few options:

  • Upgrade to the current version of Ngx-translate. We have worked hard to make upgrading simple. You can view our migration guide to assist you in your upgrade.

  • Remain Out of Date: Continue using the outdated version, but be aware that you will be subject to security risks and bugs.

  • Commercial Support for EOL versions Our partner HeroDevs offers commercial security support for EOL versions of Ngx-translate. If you cannot migrate but must remain secure you can contact them here.

Recommended tools

  • BabelEdit — translation editor for ngx-translate files

Extension points exported contracts — how you extend this code

TranslateServiceConfig (Interface)
(no doc)
projects/ngx-translate/src/lib/translate.service.ts
TranslateHttpLoaderConfig (Interface)
(no doc)
projects/http-loader/src/lib/http-loader.ts
ServiceNode (Interface)
(no doc)
projects/test-app/src/app/components/hierarchy-viz/hierarchy-viz.component.ts
Window (Interface)
(no doc)
projects/ngx-translate/src/lib/translate.service.ts
TranslateHttpLoaderResource (Interface)
(no doc)
projects/http-loader/src/lib/http-loader.ts
ConsoleLogEntry (Interface)
(no doc)
projects/test-app/src/app/services/console-log.service.ts
TranslationObject (Interface)
(no doc)
projects/ngx-translate/src/lib/translate.service.interface.ts
TranslateMultiHttpLoaderConfig (Interface)
(no doc)
projects/http-loader/src/lib/http-loader.ts

Core symbols most depended-on inside this repo

use
called by 284
projects/ngx-translate/src/lib/translate.service.ts
setTranslation
called by 181
projects/ngx-translate/src/lib/translate.service.ts
get
called by 131
projects/ngx-translate/src/lib/translate.service.ts
instant
called by 102
projects/ngx-translate/src/lib/translate.service.ts
provideTranslateService
called by 84
projects/ngx-translate/src/lib/translate.providers.ts
isLoading
called by 60
projects/ngx-translate/src/lib/translate.service.ts
set
called by 50
projects/ngx-translate/src/lib/translate.service.ts
setFallbackLang
called by 38
projects/ngx-translate/src/lib/translate.service.ts

Shape

Method 176
Class 175
Function 56
Interface 19

Languages

TypeScript100%

Modules by API surface

projects/ngx-translate/src/lib/translate.service.ts51 symbols
projects/ngx-translate/src/tests/translate.providers.spec.ts44 symbols
projects/ngx-translate/src/tests/translate.service.spec.ts31 symbols
projects/ngx-translate/src/tests/is-loading-hierarchy.spec.ts16 symbols
projects/ngx-translate/src/tests/use-rollback.spec.ts14 symbols
projects/ngx-translate/src/tests/translate.store.spec.ts13 symbols
projects/ngx-translate/src/tests/missing-translation-handler.spec.ts13 symbols
projects/ngx-translate/src/lib/util.ts13 symbols
projects/ngx-translate/src/lib/translate.providers.ts13 symbols
projects/ngx-translate/src/tests/test-helpers.ts11 symbols
projects/ngx-translate/src/lib/translate.store.ts10 symbols
projects/ngx-translate/src/lib/translate.directive.ts9 symbols

Dependencies from manifests, versioned

@angular-devkit/build-angular18 · 1×
@angular/animations18 · 1×
@angular/build22.0.0 · 1×
@angular/cli22.0.0 · 1×
@angular/common22.0.0 · 1×
@angular/compiler22.0.0 · 1×
@angular/compiler-cli22.0.0 · 1×
@angular/core22.0.0 · 1×
@angular/forms22.0.0 · 1×
@angular/platform-browser22.0.0 · 1×
@angular/platform-browser-dynamic18 · 1×
@angular/router22.0.0 · 1×

For agents

$ claude mcp add core \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact