How can I add new Language Code ?
			
	
						10 years 2 weeks ago				#1040
		by yuewah
	
	
		
			
	
			
			 		
													
	
				How can I add new Language Code ? was created by yuewah			
			
				I need the language code, zh-Hant (Tranditional Chinese), zh-Hans ( Simpified Chinese), and maybe en-HK ...			
					Please Log in or Create an account to join the conversation.
			
	
						10 years 2 weeks ago				#1045
		by Frank
	
	
		
			
					
Are you Give I2L 
	5 stars!
  Give I2L 
	5 stars!
Are you Please lets us know how to improve it!
  Please lets us know how to improve it!
					
	
			
			 		
													
	
				Replied by Frank on topic How can I add new Language Code ?			
			
				Hi,
Whenever you add a language in the editor, you can select any from the dropdown list or you can type your custom Language name / Language code.
However, if you want the language/code to show in the dropdown list, just add an entry for each new combination in the GoogleLanguages.cs file.
There you will find a list of all the languages, with their code and the code used by google translator (as not all codes/variations are supported by google)
e.g. You can add this
That will update the dropdown lists and whenever you click to autotranslate with Google Translator, it will get redirected to the supported language codes (zh-CN, zh-TW)
Hope that helps,
Frank
							Whenever you add a language in the editor, you can select any from the dropdown list or you can type your custom Language name / Language code.
However, if you want the language/code to show in the dropdown list, just add an entry for each new combination in the GoogleLanguages.cs file.
There you will find a list of all the languages, with their code and the code used by google translator (as not all codes/variations are supported by google)
e.g. You can add this
{"Chinese/New Simplified", 	new LanguageCodeDef(){Code="zh-Hans", GoogleCode="zh-CN"}},
{"Chinese/New Tranditional", 	new LanguageCodeDef(){Code="zh-Hant", GoogleCode="zh-TW"}},That will update the dropdown lists and whenever you click to autotranslate with Google Translator, it will get redirected to the supported language codes (zh-CN, zh-TW)
Hope that helps,
Frank
Are you
 Give I2L 
	5 stars!
  Give I2L 
	5 stars!
Are you
 Please lets us know how to improve it!
  Please lets us know how to improve it!
To get the betas as soon as they are ready, 
	check this out
				Please Log in or Create an account to join the conversation.
		Time to create page: 0.133 seconds	
 
  
			