utils_locale_is_compatible
Description:
[ Version ( since = "0.9.5" ) ]
public bool utils_locale_is_compatible (string? locale1, string? locale2)
Calculates if one locale is compatible with another.
When doing the calculation the locale and language code is taken into account if possible.
Parameters:
locale1 |
a BCP47 or POSIX locale string, or null |
locale2 |
a BCP47 or POSIX locale string, or null |
Returns:
true if the locale is compatible. |
Namespace: AppStream
Package: appstream