microsoft / botframework-solutions

Welcome to the Bot Framework Solutions repository which is the home for a set of templates and solutions to help build advanced conversational experiences using Azure Bot Service and Bot Framework. Microsoft Bot Framework is a comprehensive framework for building enterprise-grade conversational AI experiences.
https://aka.ms/bfsolutionsdocs
MIT License
1.05k stars 529 forks source link

Is there specific design purpose for the local folder of lu file being language code only vs full LCID string? #457

Closed dawwa closed 5 years ago

dawwa commented 5 years ago

Wondering if there is case we concern about the full LCID string, e.g., "us" part of "en-us"

So far, all the code seems only concerning the language code.

For example:

lauren-mills commented 5 years ago

Hi @dawwa, the main reason for using only the language code is for cases when different locales map to the same language. For instance, en-gb and en-us would both be using the same English services and responses in our current implementation. That being said, for a more complicated scenario you could use the full string to have different behavior/responses depending on the country code. It’s simpler at this point to use one configuration per language.