strong-globalize is built on Unicode CLDR and jquery/globalize and implements automatic extraction of strings from JS source code and HTML templates, lint the string resource, machine-translate them in seconds. In runtime, it loads locale and string resource into memory and provides a hook to persistent logging.
correctly handle formatting directives like "%s" in log messages
Before this change, g.warn was reported as an error by Chrome, and the string bits were printed in number-indexed arguments array, instead of being converted into a single formatted message.
console.warn
Before this change,
g.warn
was reported as an error by Chrome, and the string bits were printed in number-indexed arguments array, instead of being converted into a single formatted message.