appcelerator/titanium_mobile_blackberry — pull request #26 by pec1985 (2013-03-17 08:21:18+00:00)
Title: Timob 8583

Using the sample _tibbtest_ app with the _i18n_ folder found inside the _assets_ folder, test this code:
```
Ti.API.info('------------ Ti.Locale.getString() ---------------');
Ti.API.info('Should be "Welcome to BB10 Test app" is: ' + Ti.Locale.getString('welcome_message'));
Ti.API.info('Should be "No Found" is: ' + Ti.Locale.getString('welcome_message2', 'Not Found'));
Ti.API.info('Should be "welcome_message2" is: ' + Ti.Locale.getString('welcome_message2'));
Ti.API.info('');
Ti.API.info('--------------------- L() ------------------------');
Ti.API.info('Should be "Welcome to BB10 Test app" is: ' + L('welcome_message'));
Ti.API.info('Should be "No Found" is: ' + L('welcome_message2', 'Not Found'));
Ti.API.info('Should be "welcome_message2" is: ' + L('welcome_message2'));
Ti.API.info('');
Ti.API.info('-------------- Locale Properties -----------------');
Ti.API.info("Ti.Locale.currentLanguage should be en, was = " + Ti.Locale.currentLanguage);
Ti.API.info("Ti.Locale.currentCountry should be US, was = " + Ti.Locale.currentCountry);
Ti.API.info("Ti.Locale.currentLocale should be en_US, was = " + Ti.Locale.currentLocale);
Ti.API.info('');
Ti.API.info('--------------- Locale Methods ------------------');
Ti.API.info("Ti.Locale.getCurrentLanguage should be en, was = " + Ti.Locale.getCurrentLanguage());
Ti.API.info("Ti.Locale.getCurrentCountry should be US, was = " + Ti.Locale.getCurrentCountry());
Ti.API.info("Ti.Locale.getCurrentLocale should be en_US, was = " + Ti.Locale.getCurrentLocale());
Ti.API.info('');
```
**Note: build scripts need to be modified to copy the _i18n_ folder found in the root of the Titanium project to the _assets_ folder in the native generated project.