UNPKG

@andreasnicolaou/locale-translator

Version:

An Angular library for translating locale data and handling language-specific information.

12 lines (11 loc) 629 B
import { PipeTransform } from '@angular/core'; import { LocaleTranslationsService } from './locale-translator.service'; import { LocaleCode } from './locale-languages.const'; import * as i0 from "@angular/core"; export declare class TranslateLocalePipe implements PipeTransform { private readonly localeTranslationsService; constructor(localeTranslationsService: LocaleTranslationsService); transform(code: LocaleCode, native?: boolean): string | null; static ɵfac: i0.ɵɵFactoryDeclaration<TranslateLocalePipe, never>; static ɵpipe: i0.ɵɵPipeDeclaration<TranslateLocalePipe, "translateLocale", true>; }