Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Localization

Bruno Araujo edited this page Sep 6, 2018 · 1 revision

Diplomata localization is based on a pseudo-dictionary class with a key value relation, the LanguageDictionary.

Every multi language text is a array of LanguageDictionary, so contents after stored will look like this:

"content":[
  {
    "key":"English",
    "value":"Broccoli are cool."
  },
  {
    "key":"Portuguese",
    "value":"Brócolis são legais."
  },
  {
    "key":"Spanish",
    "value":"Brócoli son legales."
  }
]

The way to get a content as string is using the DictionariesHelper, Like this: DictionariesHelper.ContainsKey(content,"English").value.

Table of contents

Main

Diplomata Concepts

High concepts of the plugin.

Entities

The Diplomata entities explained.

Scripting

Learn to implement the Diplomata in your application.

Contribute

How to contribute and understand the source code and documentation.

Clone this wiki locally