www.pudn.com > struts2.rar > Test1.java, change:2009-08-19,size:381b


package com.i18n; 
 
import java.util.Locale; 
 
public class Test1 { 
	public static void main(String[] args) { 
		Locale[] locales = Locale.getAvailableLocales(); 
		for(Locale locale : locales) 
		{ 
			System.out.println(locale.getDisplayCountry()+":"+locale.getCountry());// 
			System.out.println(locale.getDisplayLanguage()+":"+locale.getLanguage());// 
		} 
	} 
}