Adding Languages Bugs

5 years 3 months ago #330 by popcornpete
If I try to add Russian(Russia), Russian(Republic of Modova) appears in the list. Seems to be related to GoogleLanguages.LanguageMatchesFilter and the fact that the word russian contains the word russia.

I can't add regional variations of a language that I already have in my list. If I try to add Chinese(Simplified) when I already have Chinese(Traditional) in my list nothing happens. Seems to happen because LanguageSource.AddLanguage returns early because it thinks the language has already been added.

There look like bugs to me but could be caused by something that I'm doing wrong. are these known issues? is there a recommended fix?


Please Log in or Create an account to join the conversation.

5 years 2 months ago #335 by Frank
Replied by Frank on topic Adding Languages Bugs
That is a regression that was fixed on 2.3.1

You can fix it in your current code by adding (false) as the last parameter to the GetLanguageIndex at line 158 of the LanguageSource.cs
		public void AddLanguage( string LanguageName, string LanguageCode )
			if (GetLanguageIndex(LanguageName, false)>=0)


Are you :-) Give I2L 5 stars!
Are you :-( 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.153 seconds
Template by JoomlaShine