getLocaleVariants

Returns a list of derived variants of @locale, which can be used to e.g. construct locale-dependent filenames or search paths. The returned list is sorted from most desirable to least desirable. This function handles territory, charset and extra locale modifiers. See man:setlocale for information about locales and their format.

Return

a newly allocated array of newly allocated strings with the locale variants. Free with g_strfreev().

Since

2.28

Parameters

locale

a locale identifier