diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-09-16 09:27:56 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-09-16 09:34:58 +0200 |
commit | def99c7baf1880e3efc0b60b9eb035be8a7edb14 (patch) | |
tree | 2bb81dec2237e4559fbb3b63a8ff56fc8f7a09d0 /servers/physics_3d/joints | |
parent | 73ec378c6431fc2e86c1116505b61f5064d3cd4d (diff) |
Implement `OS::get_locale_language()` helper method
This method extracts the 2 or 3-letter language code from `OS::get_locale()`,
making it easier for users to identify the "main" language code for users
that might have different OS locales due to different OS or region, but
should be matched to the same translation (e.g. "generic" Spanish).
Fixes #40703.
Diffstat (limited to 'servers/physics_3d/joints')
0 files changed, 0 insertions, 0 deletions