godot/core/bind
Rémi Verschelde b4fc24b73f
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.

(cherry picked from commit def99c7baf)
2021-09-21 20:33:12 +02:00
..
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
core_bind.cpp Implement `OS::get_locale_language()` helper method 2021-09-21 20:33:12 +02:00
core_bind.h Implement `OS::get_locale_language()` helper method 2021-09-21 20:33:12 +02:00