<p>I've been tasked with the awesome job of generating a look-up table for our application culture information.  The columns I need to generate data for are:</p>

<ul>
<li>Dot Net Code</li>
<li>Version</li>
<li>Culture Name</li>
<li>Country Name</li>
<li>Language Name</li>
<li>Java Country Code</li>
<li>Java Language Code</li>
<li>Iso Country Code</li>
<li>Iso Language Code</li>
</ul>

<p>I have found the globalization name space, but I'm sure someone out there has asked the same question, or there is a table already available.</p>

<p>Thanks for any help</p>

Java uses the 2-letter ISO country and language codes. I recommend getting rid of the "Java Country Code" and "Java Language Code" fields in your lookup table, since they would be redundant.
I assume that wherever you get your ISO
country
and
language
codes, you'll find their corresponding names in English. However, the Java
Locale
API will give also you the localized names for the country and language, if you need them. (I.e., what is America called in Japan?)
For example, you can do this:
```
```
Locale l = Locale.ITALY;
System.out.println(l.getDisplayCountry() + ": " + l.getDisplayLanguage());
System.out.println(l.getDisplayCountry(l) + ": " + l.getDisplayLanguage(l));
```
```
Which, running in the US English locale prints:
```
```
Italy: Italian 
Italia: italiano
```
```
Note that you can obtain 3-letter ISO codes from the Locale class, but when constructing them, be sure to only use 2-letter codes.