Giter Site home page Giter Site logo

ej2-locale's Introduction

ej2-locale

Locale translations for Essential JS 2 components in multiple languages.

Currently supported localization languages

Culture-Code Language
ar-AE Arabic - United Arab Emirates
cs Czech - Czech Republic
da Danish - Denmark
de German - Germany
en-US English - United States
es Spanish - Spain
fa Farsi - Iran
fi Finnish - Finland
fr French - France
he Hebrew - Israel
hr Croatian - Croatia
hu Hungarian - Hungary
id Indonesian
it Italian - Italy
ja Japanese - Japan
ko Korean - Korea
ms Malay - Malaysia
nb Norwegian (Bokmål) - Norway
nl Dutch - The Netherlands
pl Polish - Poland
pt Portuguese - Portugal
ro Romanian - Romania
ru Russian - Russia
sk Slovak - Slovakia
sv Swedish - Sweden
tr Turkish - Turkey
vi Vietnamese - Vietnam
zh Chinese - 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();

ej2-locale's People

Contributors

ajithr avatar sridurgha avatar mydeensn avatar vairamuthur avatar vinothyesuraj avatar essentialjs2 avatar balaji-paramesvaran avatar saranya13 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.