terminal/src/inc/til
Leonard Hecker e34897cd1f
Add a language switcher using PrimaryLanguageOverride (#10309)
## Summary of the Pull Request

This PR adds a global "language" setting, which may be set to any supported BCP 47 tag.
Additionally a ComboBox is added to the settings UI under "Appearance", listing all languages with their localized names.

This PR introduces one new issue: If you change the language while the app is running, the UI will be in a torn state, as not all UI elements refresh automatically if the `PrimaryLanguageOverride` is changed.

## PR Checklist
* [x] Closes #5497
* [x] I work here
* [x] Tests added/passed
* [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx
* [x] Schema updated

## Validation Steps Performed

* UI language changes when changing the "language" in settings.json before starting WT / while WT is running. ✔️
* "language" field is removed from settings.json if "Use system default" is selected. ✔️
* "language" field is added or updated in settings.json if any other language is selected. ✔️
* Removes qps- languages if debugFeatures is false. ✔️
* Correctly refreshes all UI elements with the new language. 
2021-06-10 23:24:21 +00:00
..
at.h Add support for more OSC color formats (#7578) 2020-10-14 17:29:10 -07:00
bitmap.h Eliminate more transient allocations: Titles and invalid rectangles and bitmap runs and utf8 conversions (#8621) 2021-02-16 20:52:33 +00:00
coalesce.h Make Global and Profile settings inheritable (#7923) 2020-10-27 17:35:09 +00:00
color.h Introduce MS.Term.Core.Color to replace W.U.Color for Core/Control/TSM (#9658) 2021-03-30 20:15:49 +00:00
math.h add til::math, use it for float conversions to point, size (#5150) 2020-03-27 22:48:49 +00:00
operators.h Render row-by-row instead of invalidating entire screen (#5185) 2020-04-13 20:09:02 +00:00
pmr.h Merged PR 5770253: [Git2Git] Merged PR 5760120: Add propsheet chooser to Windows 2021-03-10 01:19:04 +00:00
point.h Make the window name _quake special (#9785) 2021-04-26 19:36:23 +00:00
rectangle.h Adjusts High DPI scaling to enable differential rendering (#5345) 2020-04-22 14:59:51 -07:00
replace.h Fix typo in replace.h (#9679) 2021-04-06 10:38:51 -05:00
rle.h rle: fix build with clang by adding a deduction guide (#10154) 2021-05-24 13:33:43 +00:00
size.h Make the window name _quake special (#9785) 2021-04-26 19:36:23 +00:00
some.h Move ConPTY to use til::bitmap (#5024) 2020-03-23 15:57:54 +00:00
spsc.h Fix #8695: til::spsc assignment operators don't return anything (#8811) 2021-01-19 11:41:08 +00:00
static_map.h Add support for more OSC color formats (#7578) 2020-10-14 17:29:10 -07:00
string.h Add a language switcher using PrimaryLanguageOverride (#10309) 2021-06-10 23:24:21 +00:00
u8u16convert.h ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00