/*
 * =============================================================================
 * Copyright 1998-2012, IAESTE Internet Development Team. All rights reserved.
 * -----------------------------------------------------------------------------
 * Project: IntraWeb Services (iws-api) - net.iaeste.iws.api.enums.Language
 * -----------------------------------------------------------------------------
 * This software is provided by the members of the IAESTE Internet Development
 * Team (IDT) to IAESTE A.s.b.l. It is for internal use only and may not be
 * redistributed. IAESTE A.s.b.l. is not permitted to sell this software.
 *
 * This software is provided "as is"; the IDT or individuals within the IDT
 * cannot be held legally responsible for any problems the software may cause.
 * =============================================================================
 */
package net.iaeste.iws.api.enums;

/**
 * All languages that can be selected in the system
 *
 * @author Marko Cilimkovic / last $Author:$
 * @version $Revision:$ / $Date:$
 * @since 1.7
 */
public enum Language {
    // TODO add more languages
    ENGLISH, GERMAN, FRENCH, RUSSIAN
}

@@ -1088,70 +1088,1545 @@
     
-// TODO add more languages%0A    ENGLISH, GERMAN, FRENCH, RUSSIAN
+ENGLISH(%22English%22),%0A    ARABIC(%22Arabic%22),%0A    BELARUSIAN(%22Belarusian%22),%0A    BULGARIAN(%22Bulgarian%22),%0A    CANTONESE_YUE_CHINESE(%22Cantonese (Yue) Chinese%22),%0A    CROATIAN(%22Croatian%22),%0A    CZECH(%22Czech%22),%0A    DANISH(%22Danish%22),%0A    DUTCH(%22Dutch%22),%0A    ESTONIAN(%22Estonian%22),%0A    FINNISH(%22Finnish%22),%0A    FRENCH(%22French%22),%0A    GERMAN(%22German%22),%0A    GREEK(%22Greek%22),%0A    HUNGARIAN(%22Hungarian%22),%0A    INDONESIAN(%22Indonesian%22),%0A    ITALIAN(%22Italian%22),%0A    JAPANESE(%22Japanese%22),%0A    KOREAN(%22Korean%22),%0A    LATVIAN(%22Latvian%22),%0A    LITHUANIAN(%22Lithuanian%22),%0A    MANDARIN_CHINESE(%22Mandarin Chinese%22),%0A    NORWEGIAN(%22Norwegian%22),%0A    PERSIAN(%22Persian%22),%0A    POLISH(%22Polish%22),%0A    PORTUGUESE(%22Portuguese%22),%0A    ROMANIAN(%22Romanian%22),%0A    RUSSIAN(%22Russian%22),%0A    SERBIAN(%22Serbian%22),%0A    SLOVAKIAN(%22Slovakian%22),%0A    SLOVENIAN(%22Slovenian%22),%0A    SPANISH(%22Spanish%22),%0A    SWEDISH(%22Swedish%22),%0A    TAJIK(%22Tajik%22),%0A    THAI(%22Thai%22),%0A    TURKISH(%22Turkish%22),%0A    VIETNAMESE(%22Vietnamese%22),%0A    UKRAINIAN(%22Ukrainian%22),%0A    ANY(%22Any%22);%0A%0A%0A    private final String description;%0A%0A    Language(final String description) %7B%0A        this.description = description;%0A    %7D%0A%0A    public String getDescription() %7B%0A        return description;%0A    %7D%0A%0A    /**%0A     * Same as valueOf but for when an argument is null then null is returned.%0A     *%0A     * @param language String which should be value of TypeOfWork%0A     * @return null or enum value%0A     */%0A    public static Language toValue(final String language) %7B%0A        return language == null ? null : Language.valueOf(language);%0A    %7D%0A
 %0A%7D%0A

add all languages to the enum, fixes #91