package net.etalia.client.domain;

import java.util.Locale;

public enum Language {

	IT("it"),
	EN("en");

	private String isocode; // ISO-639-1
	private Language(String isocode) {
		this.isocode = isocode;
	}
	public String getISOCode() {
		return isocode;
	}
	public static Language byISOCode(String isocode) {
		for(Language l : Language.values()) {
			if(l.isocode.equals(isocode)) {
				return l;
			}
		}
		return null;
	}
	public Locale getLocale() {
		return new Locale(this.isocode);
	}

}

@@ -83,10 +83,10 @@
 %7B%0A%0A%09
-IT
+it
 (%22it
@@ -94,10 +94,10 @@
 ),%0A%09
-EN
+en
 (%22en

Fix enum