mattheworiordan/json.i18n-for-Titanium-Mobile — Issue #3: String.format is undefined on BlackBerry
Author: stevelacey
Created: 2011-10-19 09:18:11+00:00
State: open

Meaning getFormattedString fails, I hacked this fixed with:

} else if (Ti.Platform.osname == 'blackberry') {
// BlackBerry doesn't have String.format, fix better when necessary
return val.replace('%s', arguments[1]);
}

Obviously, this only works because my usage is basic (only ever one param passed). This should probably be polyfilled if you can find a reliable source for the method.