Page 1 of 1

Steema.Teechart.Net fails to get license info when in Czech Language/culture info in Xamarin.Forms Android / IOS

Posted: Wed Jun 12, 2019 4:14 pm
by 18286055
Current version: Steema.TeeChart.NET.Xamarin.Forms (4.2018.10.17)

Steema.Teechart.Net fails to find the license file when in Czech Language/culture info in Xamarin.Forms Android / IOS, and therefore displays the evaluation watermark. 13 Other languages work fine (English, French, Chinese, Swedish, Spanish, Thai, German, Japanese, Korean, Polish, Dutch, Arabic and Portueges). When selecting the new language the new culture info is passed to the app. this also occurs when the app starts for the system language. What I don't understand is why it's only Czech that does it. I've looked through the documentation for Teechart and don't see anything obvious. also, the library used for cultures is Plugin.Multilingual.CrossMultilingual.

Code: Select all

public class 
{
    public string DisplayName { get; internal set; }
    public string ShortName { get; internal set; }
    public SupportedLanguages Version { get; internal set; }
}

internal static ObservableCollection<Language> Languages { get; set; } = new ObservableCollection<Language>()
{
    new Language { DisplayName =  "عربى - Arabic", ShortName = "ar" , Version = SupportedLanguages.Arabic},
    new Language { DisplayName =  "中文 - Chinese (simplified)", ShortName = "zh-Hans", Version = SupportedLanguages.Chinese },
    new Language { DisplayName =  "čeština - Czech", ShortName = "cs", Version = SupportedLanguages.Czech },
    new Language { DisplayName =  "Nederlands - Dutch", ShortName = "nl", Version = SupportedLanguages.Dutch },
    new Language { DisplayName =  "English", ShortName = "en", Version = SupportedLanguages.English },
    new Language { DisplayName =  "Français - French", ShortName = "fr", Version = SupportedLanguages.French },
    new Language { DisplayName =  "Deutsche - German", ShortName = "de", Version = SupportedLanguages.German },
    new Language { DisplayName =  "日本語 - Japanese", ShortName = "ja", Version = SupportedLanguages.Japanese },
    new Language { DisplayName =  "한국어 - Korean", ShortName = "ko", Version = SupportedLanguages.Korean },
    new Language { DisplayName =  "Polskie - Polish", ShortName = "pl", Version = SupportedLanguages.Polish },
    new Language { DisplayName =  "Português - Portuguese", ShortName = "pt", Version = SupportedLanguages.Portuguese },
    new Language { DisplayName =  "Español - Spanish", ShortName = "es", Version = SupportedLanguages.Spanish },
    new Language { DisplayName =  "svenska - Swedish", ShortName = "sv", Version = SupportedLanguages.Swedish },
    new Language { DisplayName =  "ไทย - Thai", ShortName = "th", Version = SupportedLanguages.Thai }
};

//On selection of the language, this is called:
CultureInfo culture = new CultureInfo(ViewModel.SelectedLanguage.ShortName);
CrossMultilingual.Current.CurrentCultureInfo = culture;

Re: Steema.Teechart.Net fails to get license info when in Czech Language/culture info in Xamarin.Forms Android / IOS

Posted: Thu Jun 13, 2019 11:05 am
by Pep
Hello,

it's a strange problem, knowing that only happens with Czech language.
Does the same happens by setting the CultureInfo directly without using the Multilingual plugin ?
For xample .

Code: Select all

			CultureInfo culture = new CultureInfo("cs-CZ");
			Thread.CurrentThread.CurrentCulture = culture;

Re: Steema.Teechart.Net fails to get license info when in Czech Language/culture info in Xamarin.Forms Android / IOS

Posted: Wed Jun 19, 2019 3:15 pm
by 18286055
Pep wrote:
Thu Jun 13, 2019 11:05 am
Hello,

it's a strange problem, knowing that only happens with Czech language.
Does the same happens by setting the CultureInfo directly without using the Multilingual plugin ?
For xample .

Code: Select all

			CultureInfo culture = new CultureInfo("cs-CZ");
			Thread.CurrentThread.CurrentCulture = culture;
It still occurs using this method.

Re: Steema.Teechart.Net fails to get license info when in Czech Language/culture info in Xamarin.Forms Android / IOS

Posted: Wed Jun 19, 2019 3:32 pm
by Pep
Ok, let me do some more invesgation about this problem and back to you.

Thanks.

Re: Steema.Teechart.Net fails to get license info when in Czech Language/culture info in Xamarin.Forms Android / IOS

Posted: Wed Jul 10, 2019 10:00 pm
by 18286055
any update?

Also, it still occurs with the latest update: Steema.TeeChart.NET.Xamarin.Forms version 4.2019.7.3.

Re: Steema.Teechart.Net fails to get license info when in Czech Language/culture info in Xamarin.Forms Android / IOS

Posted: Fri Jul 12, 2019 11:15 am
by Pep
Hello,
I've just sent a directly message to your mail, related to this post, just in order to make some tests with a specific version.

Re: Steema.Teechart.Net fails to get license info when in Czech Language/culture info in Xamarin.Forms Android / IOS

Posted: Fri Jul 12, 2019 2:37 pm
by 18286055
on version 4.2019.7.12, the issue has been fixed.