690691692693694695696697698699700
/** * @throws Exception */ private void setDefaultLanguage() throws Exception { this.rb = new SOSResourceBundle(); this.rb.setBundle(this.bundleName, this.locale); this.sosLang = this.locale.getLanguage().toLowerCase(); SOSDate.locale = this.locale;
710711712713714715716717718719720
if (locale != null) { this.locale = locale; } if (this.rb == null) { this.rb = new SOSResourceBundle(); } this.rb.setBundle(this.bundleName, this.locale); SOSDate.locale = this.locale; this.sosLang = this.locale.getLanguage().toLowerCase();
738739740741742743744745746747748
if (this.locale == null) { this.locale = Locale.UK; } if (this.rb == null) { this.rb = new SOSResourceBundle(); } this.rb.setBundle(this.bundleName, this.locale); SOSDate.locale = this.locale; this.sosLang = this.locale.getLanguage().toLowerCase();