Parent Directory
|
Revision Log
|
Patch
revision 39 by alfonx, Mon Apr 6 19:14:55 2009 UTC | revision 41 by alfonx, Mon Apr 6 19:54:46 2009 UTC | |
---|---|---|
# | Line 66 public class I8NUtil { | Line 66 public class I8NUtil { |
66 | */ | */ |
67 | public static Locale getLocaleFor(String code) { | public static Locale getLocaleFor(String code) { |
68 | for (Locale l : Locale.getAvailableLocales()) { | for (Locale l : Locale.getAvailableLocales()) { |
69 | System.out.println(l.getLanguage()+" not = "+code); | // System.out.println(l.getLanguage()+" not = "+code); |
70 | if (l.getLanguage().toLowerCase().equals(code.toLowerCase())) { | if (l.getLanguage().toLowerCase().equals(code.toLowerCase())) { |
71 | return l; | return l; |
72 | } | } |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |