Changes between Version 18 and Version 19 of Internationalization
- Timestamp:
- Apr 25, 2014, 4:44:33 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internationalization
v18 v19 238 238 }}} 239 239 240 Also, the keys array may be an object where properties are keys to translate and values are translation contexts to use for each key. For example, the following call translates “Player Name” with “playerName” as translation context (equivalent to `translateWithContext("playerName", "Player Name")`): 241 242 {{{ 243 translateObjectKeys({ "name": "Player Name" }, { "name": "playerName" }); 244 }}}