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

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
TLC
Newbie
Newbie
Posts: 61
Joined: Mon Apr 08, 2019 12:00 am

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

Post by TLC » Wed Jun 12, 2019 4:14 pm

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;

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

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

Post by Pep » 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;

TLC
Newbie
Newbie
Posts: 61
Joined: Mon Apr 08, 2019 12:00 am

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

Post by TLC » Wed Jun 19, 2019 3:15 pm

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.

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

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

Post by Pep » Wed Jun 19, 2019 3:32 pm

Ok, let me do some more invesgation about this problem and back to you.

Thanks.

TLC
Newbie
Newbie
Posts: 61
Joined: Mon Apr 08, 2019 12:00 am

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

Post by TLC » Wed Jul 10, 2019 10:00 pm

any update?

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

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

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

Post by Pep » Fri Jul 12, 2019 11:15 am

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.

TLC
Newbie
Newbie
Posts: 61
Joined: Mon Apr 08, 2019 12:00 am

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

Post by TLC » Fri Jul 12, 2019 2:37 pm

on version 4.2019.7.12, the issue has been fixed.

Post Reply