-
Notifications
You must be signed in to change notification settings - Fork 479
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
Make multiple languages limited to the language of the entry lg file #3241
Conversation
…otbuilder-dotnet into hond/refactor-lg-api
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.6.3 |
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.6.3 |
If we have an entry file:
a.xxx.lg
, (xxx is the locale, en-us, en, fr-fr .etc.)all the import file while is imported by this entry file or the children file, would fallback language from xxx.So, if a user uses
a.en.lg
as entry file, and importb.en-us.lg
, it would make some exception because LG would find a.lg file fromb.en.lg
and with the fallback fileb.lg
, even if the current locale is "en-us".