Changes between Version 3 and Version 4 of Implementation_of_Internationalization_and_Localization


Ignore:
Timestamp:
Apr 13, 2014, 2:51:00 PM (10 years ago)
Author:
Adrián Chaves
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Implementation_of_Internationalization_and_Localization

    v3 v4  
    1414translatePluralWithContext(context, singularMessage, pluralMessage, number);
    1515translateObjectKeys(object, keys);
     16}}}
    1617
    17 }}}
    1818The 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.
    1919
     
    2121
    2222==== sprintf.js ====
    23 TODO
     23
     24Implements the `sprintf()` function, used for [wiki:Internationalization#UsingStringFormattingInsteadofConcatenatingStringsinJavaScript string formatting].
    2425
    2526=== gui/ ===