@localive/adapter-ngx-translate
v0.1.4
Published
Wire Localive into ngx-translate to make Angular strings editable in the running app.
Maintainers
Readme
@localive/adapter-ngx-translate
Wire Localive into ngx-translate to make Angular strings editable in the running app.
Part of Localive, live in-context i18n editing for React, Vue, Angular, and Svelte.
Install
npm install @localive/adapter-ngx-translate @ngx-translate/coreRequires the peer dependencies @ngx-translate/core (>=15) and @localive/core.
Usage
import { withNgxTranslate } from '@localive/adapter-ngx-translate';
import { TranslateService, TranslatePipe } from '@ngx-translate/core';
const adapter = withNgxTranslate(inject(TranslateService), TranslatePipe);See the full documentation at https://localive.vercel.app/concepts/adapters/.
License
MIT © Localive, see LICENSE.
