package org.literacyapp.model.enums;

/**
 * This list represents the currently supported languages.
 */
public enum Locale {
    
    AR("ar"),
    EN("en"),
    ES("es"),
    SW("sw");
    
    private String language;
    
    private String country;
    
    private Locale(String language) {
        this.language = language;
    }
    
    private Locale(String language, String country) {
        this.language = language;
        this.country = country;
    }
    
    public String getLanguage() {
        return language;
    }
    
    public String getCountry() {
        return country;
    }
}

@@ -148,24 +148,49 @@
   EN(%22en%22),%0A
+//    EN_US(%22en%22, %22US%22),%0A
     ES(%22es%22)

Format example