Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApiAiSDK.SupportedLanguage.FromLanguageTag(Language) doens't works #32

Open
newrochelle opened this issue Nov 21, 2018 · 0 comments
Open

Comments

@newrochelle
Copy link

SupportedLanguage supLang = ApiAiSDK.SupportedLanguage.FromLanguageTag(Language);

supLang is always equal to "en" even if Language is "French".

i'm using version 1.6.5 of ApiAiSDK

below "SupportedLanguage" class (from metadata):
/********/
namespace ApiAiSDK
{
public class SupportedLanguage
{
public static readonly SupportedLanguage English;
public static readonly SupportedLanguage Russian;
public static readonly SupportedLanguage German;
public static readonly SupportedLanguage Portuguese;
public static readonly SupportedLanguage PortugueseBrazil;
public static readonly SupportedLanguage Spanish;
public static readonly SupportedLanguage French;
public static readonly SupportedLanguage Italian;
public static readonly SupportedLanguage Dutch;
public static readonly SupportedLanguage Japanese;
public static readonly SupportedLanguage ChineseChina;
public static readonly SupportedLanguage ChineseHongKong;
public static readonly SupportedLanguage ChineseTaiwan;
public readonly string code;

    public static SupportedLanguage FromLanguageTag(string languageTag);
}

}
/********/

How can I fix it?

Many thanks in advance.

Best regards
Andrea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant