@plasma-platform/service-locales
v1.1.0
Published
Service Locales Api
Downloads
33
Readme
Full documentation
install:npm i @plasma-platform/service-locales -S
Short documentation
Table of Contents
ServiceLocales
Locales API
getLocales
Get list of all TM locales
Examples
(async () => {
const service = new Service(url);
const request = await service.getLocales();
})();
Returns Promise<any>
getLocale
Get locale by ico2 code
Parameters
code
string Locale ico2 code
Examples
(async () => {
const service = new Service(url);
const request = await service.getLocale(code);
})();
Returns Promise<any>