UNPKG

lc-i18n

Version:

Lockcommerce Translation Service

40 lines (39 loc) 849 B
import I18n = require("i18n-js"); import TConfiguration from './Core/TConfiguration'; /** * * Translate Static Keys () .. check locales folder in the root * @param key * @returns Translation */ export declare const SetDefaultLocaleConfiguration: (tConfiguration: TConfiguration) => void; /** * * Translate Static Keys () .. check locales folder in the root * @param key * @returns Translation */ export declare const T: (key: string) => string; export declare const SetLocale: (lang?: string) => void; /** * * Get Current Instant () * * @returns i18n */ export declare const GetI18n: () => any; /** * * Not used For now * * @returns locale */ export declare const GetLocaleId: () => string; /** * * Get Current Local () * * @returns locale */ export declare const GetLocale: () => string; export default I18n;