This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
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
.
High concepts of the plugin.
- Spreadsheet Dialogue Tree Style
- Localization
- Unity Serialization Concessions
- Characters attributes and influence
- Characters x Interactables
The Diplomata entities explained.
Learn to implement the Diplomata in your application.
- General
- Dialogue Canvas
- Get and set flags
- Inventory management
- Quests and quest log
- Persistent Data (Save & Load)
- Extensions
How to contribute and understand the source code and documentation.