~dhis-mobile-devs/dhis-mobile/senegal

« back to all changes in this revision

Viewing changes to src/org/hisp/dhis/mobile/midlet/DHISMIDlet.java

  • Committer: Jason P. Pickering
  • Date: 2011-12-18 16:54:58 UTC
  • Revision ID: jason.p.pickering@gmail.com-20111218165458-wbzyqn618xqgmqxp
Refactored locales to match standard locales. WIP.

Show diffs side-by-side

added added

removed removed

Lines of Context:
248
248
        }
249
249
        else if ( language.equalsIgnoreCase( "fr" ) )
250
250
        {
251
 
            locale = "fr-FR";
 
251
            locale = "fr_FR";
252
252
 
253
253
        }
254
254
        else if ( language.equalsIgnoreCase( "en" ) )
255
255
        {
256
 
            locale = "en-GB";
 
256
            locale = "en_GB";
257
257
        }
258
258
 
259
259
        return locale;