GithubHelp home page GithubHelp logo

jsonlanguagemanagement's Introduction

json-language-management

Demo is available at / Demo bağlantısı : [Demo](http://plugin.softbax.com/jsonLM "Demo URL" target="_blank")

SUGGESTIONS / ÖNERİLER

Easy to implement your projects / Projelerinize eklemesi kolaydır.

If you develop a big project, so you should use database to provide multi language / Eğer büyük bir proje geliştiriyorsanız, dil yönetimi için database kullanmanızı öneririm.

You can use this for static pages / Statik sayfalarınız için kullanabilirsiniz.

HOW TO USE / NASIL KULLANIRIM

Include lib.js and api.js and jquery library / lib.js ve api.js ve jquery kütüphanesini ekleyin

Inside lib.js you can manage languages. Inside AvailableLanguages function you can add languages as json format. / lib.js dosyası içinde dilleri yönetebilirsiniz. AvailableLanguages fonksiyonu içerisine json formatında dil seçenekleri ekleyebilirsiniz Ex. / Örn.

var languages = {

  `"en" : "English",`
  
 ` "tr" : "Türkçe",`
 
 ` "de" : "Deutsche",`
 
`  ...`

};

Use loadLanguages function to append languages options inside select element / loadLanguages fonksiyonunu kullanarak select elementi içerisine dil seçeneklerini ekleyebilirsiniz.

Call LoadContent function to load language contents / LoadContent fonksiyonunu dil içeriklerini yüklemek için kullanın

Usage example / Kullanım örneği

<div class="qenruJsonContent" data-label="home"></div>

"home" Content will be appended inside div element. "home" matches with key value inside related json file. "home" içeriği div elementi arasına basılır. "home" ilgili json dosyasındaki key value ile ile eşleştirilir.

<input type="text" class="qenruJsonContent" data-label="user_name|placeholder"/>

if you use key|placeholder inside data-label, you provide content for related element's placeholder attribute. Eğer key|placeholder data-label içerisinde kullanırsanız, ilişkili elementin placeholder attribute değeri için dil yönetimi sağlarsınız.

<input type="submit" class="qenruJsonContent" data-label="user_name|value"/>

if you use key|value inside data-label, you provide content for related element's value attribute. Eğer key|value data-label içerisinde kullanırsanız, ilişkili elementin value attribute değeri için dil yönetimi sağlarsınız.

#Copyright and License

##Copyright © 2007-2013 M. Alsup.

The BlockUI plugin is dual licensed under the MIT and GPL licenses.

You may use either license. The MIT license is recommended for most projects because it is simple and easy to understand and it places almost no restrictions on what you can do with the plugin.

If the GPL suits your project better you are also free to use the plugin under that license.

You do not have to do anything special to choose one license or the other and you don't have to notify anyone which license you are using. You are free to use the BlockUI plugin in commercial projects as long as the copyright header is left intact.

jsonlanguagemanagement's People

Contributors

onurdogucu avatar

Watchers

 avatar  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.