Esempio n. 1
0
		public static string GetLanguageString( Language.Code languageCode )
		{
			switch(languageCode)
			{
			case Language.Code.EN:		return "ENGLISH";
			case Language.Code.FR:		return "FRENCH";
			case Language.Code.IT:		return "ITALIAN";
			case Language.Code.DE:		return "GERMAN";
			case Language.Code.ES:		return "SPANISH";
			case Language.Code.AR:		return "ARABIC";
			case Language.Code.ZHCN:	return "CHINESE (SIMPLIFIED)";
			case Language.Code.JA:		return "JAPANESE";
			case Language.Code.KO:		return "KOREAN";
			case Language.Code.VI:		return "VIETNAMESE";
			case Language.Code.RU:		return "RUSSIAN";
			case Language.Code.NL:		return "DUTCH";
			case Language.Code.AF:		return "AFRIKAANS";
			case Language.Code.BE:		return "BELARUSIAN";
			case Language.Code.BG:		return "BULGARIAN";
			case Language.Code.CA:		return "CATALAN";
			case Language.Code.CS:		return "CZECH";
			case Language.Code.CY:		return "WELSH";
			case Language.Code.ET:		return "ESTONIAN";
			case Language.Code.FA:		return "PERSIAN";
			case Language.Code.FI:		return "FINNISH";
			case Language.Code.GA:		return "IRISH";
			case Language.Code.GL:		return "GALICIAN";
			case Language.Code.HI:		return "HINDI";
			case Language.Code.HR:		return "CROATIAN";
			case Language.Code.HT:		return "HAITIAN";
			case  Language.Code.ID:		return "INDONESIAN";
			case Language.Code.IS:		return "ICELANDIC";
			case  Language.Code.IW:		return "HEBREW";
			case Language.Code.LT:		return "LITHUANIAN";
			case Language.Code.LV:		return "LATVIAN";
			case Language.Code.MK:		return "MACEDONIAN";
			case Language.Code.MS:		return "MALAY";
			case Language.Code.MT:		return "MALTESE";
			case Language.Code.NO:		return "NORWEGIAN";
			case Language.Code.PL:		return "POLISH";
			case Language.Code.PT:		return "PORTUGUESE";
			case Language.Code.RO:		return "ROMANIAN";
			case Language.Code.SK:		return "SLOVAK";
			case Language.Code.SL:		return "SLOVENIAN";
			case Language.Code.SQ:		return "ALBANIAN";
			case Language.Code.SR:		return "SERBIAN";
			case Language.Code.SV:		return "SWEDISH";
			case Language.Code.SW:		return "SWAHILI";
			case Language.Code.TH:		return "THAI";
			case Language.Code.TL:		return "TAGALOG";
			case Language.Code.TR:		return "TURKISH";
			case Language.Code.UK:		return "UKRAINIAN";
			case Language.Code.YI:		return "YIDDISH";
			case Language.Code.ZHTW:	return "CHINESE (TRADITIONAL)";
			}
			
			return "Invalid Language";
		}
Esempio n. 2
0
		public static string GetLanguageCodeAsString( Language.Code languageCode )
		{
			switch(languageCode)
			{
			case Language.Code.EN:		return "EN";
			case Language.Code.FR:		return "FR";
			case Language.Code.IT:		return "IT";
			case Language.Code.DE:		return "DE";
			case Language.Code.ES:		return "ES";
			case Language.Code.AR:		return "AR";
			case Language.Code.ZHCN:	return "ZH-CN";
			case Language.Code.JA:		return "JA";
			case Language.Code.KO:		return "KO";
			case Language.Code.VI:		return "VI";
			case Language.Code.RU:		return "RU";
			case Language.Code.NL:		return "NL";
			case Language.Code.AF:		return "AF";
			case Language.Code.BE:		return "BE";
			case Language.Code.BG:		return "BG";
			case Language.Code.CA:		return "CA";
			case Language.Code.CS:		return "CS";
			case Language.Code.CY:		return "CY";
			case Language.Code.ET:		return "ET";
			case Language.Code.FA:		return "FA";
			case Language.Code.FI:		return "FI";
			case Language.Code.GA:		return "GA";
			case Language.Code.GL:		return "GL";
			case Language.Code.HI:		return "HI";
			case Language.Code.HR:		return "HR";
			case Language.Code.HT:		return "HT";
			case  Language.Code.ID:		return "ID";
			case Language.Code.IS:		return "IS";
			case  Language.Code.IW:		return "IW";
			case Language.Code.LT:		return "LT";
			case Language.Code.LV:		return "LV";
			case Language.Code.MK:		return "MK";
			case Language.Code.MS:		return "MS";
			case Language.Code.MT:		return "MT";
			case Language.Code.NO:		return "NO";
			case Language.Code.PL:		return "PL";
			case Language.Code.PT:		return "PT";
			case Language.Code.RO:		return "RO";
			case Language.Code.SK:		return "SK";
			case Language.Code.SL:		return "SL";
			case Language.Code.SQ:		return "SQ";
			case Language.Code.SR:		return "SR";
			case Language.Code.SV:		return "SV";
			case Language.Code.SW:		return "SW";
			case Language.Code.TH:		return "TH";
			case Language.Code.TL:		return "TL";
			case Language.Code.TR:		return "TR";
			case Language.Code.UK:		return "UK";
			case Language.Code.YI:		return "YI";
			case Language.Code.ZHTW:	return "ZH-TW";
			}
			
			return "Invalid Language";
		}