Changes

Jump to navigation Jump to search
→‎Translation: remove draft note (now released)
Line 404: Line 404:     
===Translation===
 
===Translation===
'''This is a draft API in the upcoming SMAPI 1.14.'''
  −
   
The translation API lets you translate your mod into the player's current language, accounting for locale fallback automatically (e.g. if a translation isn't available in <tt>pt-BR.json</tt>, SMAPI will check <tt>pt.json</tt> and <tt>default.json</tt>). Translations can be a simple string, or they can include tokens to inject values into the translation.
 
The translation API lets you translate your mod into the player's current language, accounting for locale fallback automatically (e.g. if a translation isn't available in <tt>pt-BR.json</tt>, SMAPI will check <tt>pt.json</tt> and <tt>default.json</tt>). Translations can be a simple string, or they can include tokens to inject values into the translation.
  
manager
8,549

edits

Navigation menu