localizationmanager

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

localizationmanager [2019/11/01 04:17]
thorfinio created
localizationmanager [2019/11/01 04:22] (current)
thorfinio
Line 47: Line 47:
   // returns the localized text using the given parameters   // returns the localized text using the given parameters
   LocalizationManager.GLV("​My Label",​ new List<​string>​(){"​first param",​ "​second param"​});​   LocalizationManager.GLV("​My Label",​ new List<​string>​(){"​first param",​ "​second param"​});​
 +In the corrisponding json lang file there should be something like this:
 +  {
 +    "​key":​ "My Label",​
 +    "​value":​ "This label accepts two parameters: {?} and {?}"
 +  },
 +The {?} tag will be converted to the parameter value in the same occurring order.
   ​   ​
   ​   ​
  • localizationmanager.txt
  • Last modified: 2019/11/01 04:22
  • by thorfinio