tldraw/packages/ui
Steve Ruiz 5ab93eef5f
[fix] pick a better default language (#1201)
This PR improves the language selection. 

Previously, we would miss the user's languages that included a locale.
For example, if a user's languages were `['en-US', 'fr'], then they
would get 'fr' because 'en-US' wasn't in our table—though 'en' was!

We were already doing the splitting elsewhere but now we do it here,
too.

### Release Note

- Improves default language

---------

Co-authored-by: Lu[ke] Wilson <l2wilson94@gmail.com>
2023-04-29 23:06:02 +00:00
..
src [fix] pick a better default language (#1201) 2023-04-29 23:06:02 +00:00
api-extractor.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
api-report.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
CHANGELOG.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
package.json [lite] upgrade lazyrepo (#1198) 2023-04-25 14:32:17 +01:00
README.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
setupTests.js derived presence state (#1204) 2023-04-27 18:03:19 +00:00
tsconfig.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
ui.css transfer-out: transfer out 2023-04-25 12:01:25 +01:00

tldraw/ui