Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add app.getPreferredSystemLanguages() API (#36291)
* feat: add app.getSystemLanguage() API Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> * Change the API to getPreferredSystemLanguages Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> * Fix test Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> * Clarify docs and add Linux impl Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> * Remove USE_GLIB Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> * Don't add C to list Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> * Remove examples since there's a lot of edge cases Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> * Fix lint Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> * Add examples Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> * Fix compile error Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> * Apply PR feedback Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> * Update the example Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
- Loading branch information
Showing
6 changed files
with
76 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters