Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ej2-locale

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ej2-locale

localized text for all Essential JS 2 Component in various languages

  • 17.1.48
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ej2-locale

Locale translations for Essential JS 2 components in multiple languages.

Currently supported localization languages

Culture-CodeLanguage
ar-AEArabic - United Arab Emirates
csCzech - Czech Republic
daDanish - Denmark
deGerman - Germany
en-USEnglish - United States
esSpanish - Spain
faFarsi - Iran
fiFinnish - Finland
frFrench - France
heHebrew - Israel
hrCroatian - Croatia
huHungarian - Hungary
idIndonesian
itItalian - Italy
jaJapanese - Japan
koKorean - Korea
msMalay - Malaysia
nbNorwegian (Bokmål) - Norway
nlDutch - The Netherlands
plPolish - Poland
ptPortuguese - Portugal
roRomanian - Romania
ruRussian - Russia
skSlovak - Slovakia
svSwedish - Sweden
trTurkish - Turkey
viVietnamese - Vietnam
zhChinese - China

How To load locale text for Essential JS 2 components

To load translation object in Essential JS 2 components, you can load locale object in L10.load function from ej.base. For example, In the below code snippet we have loaded the locale file for Arabic culture.

ej.base.setCulture('ar-AE');
var ajax = new ej.base.Ajax('/src/ar-AE.json', 'GET', true);
ajax.onSuccess = function (value) {
        //Assigning locale text value for Essential JS 2 components
        ej.base.L10n.load(value);
    };
ajax.send();

Keywords

FAQs

Package last updated on 21 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc