Changes between Version 3 and Version 4 of Implementation_of_Internationalization_and_Localization
- Timestamp:
- Apr 13, 2014, 2:51:00 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Implementation_of_Internationalization_and_Localization
v3 v4 14 14 translatePluralWithContext(context, singularMessage, pluralMessage, number); 15 15 translateObjectKeys(object, keys); 16 }}} 16 17 17 }}}18 18 The first four functions are simply wrappers for the engine internationalization functions (such as `Engine.translate`). These global functions use caching to reduce the number of calls to the engine functions, because calls to engine functions require string conversions that are far from cheap. 19 19 … … 21 21 22 22 ==== sprintf.js ==== 23 TODO 23 24 Implements the `sprintf()` function, used for [wiki:Internationalization#UsingStringFormattingInsteadofConcatenatingStringsinJavaScript string formatting]. 24 25 25 26 === gui/ ===