@ogs-gmbh/ngx-translate
Version:
A lightweight, REST-based Angular i18n library designed for seamless internationalization with minimal setup. It supports dynamic language switching & flexible translation management via RESTful APIs.
10 lines (9 loc) • 564 B
TypeScript
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http";
import { Observable } from "rxjs";
import * as i0 from "@angular/core";
export declare class TranslationInterceptor implements HttpInterceptor {
private readonly _translationStoreService;
intercept(httpRequest: Readonly<HttpRequest<unknown>>, httpHandler: Readonly<HttpHandler>): Observable<HttpEvent<unknown>>;
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationInterceptor, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<TranslationInterceptor>;
}