Collator.interpret_country


Description:

[ CCode ( has_construct_function = false ) ]
public Collator.interpret_country (string locale, out string country_code) throws Error

Creates a new Collator for the given locale, the returned collator should be freed with unref.

In addition, this also reliably interprets the country code from the locale string and stores it to country_code .

Parameters:

locale

The locale under which to sort

country_code

A location to store the interpreted country code from locale

Returns:

A newly created Collator.




2022 vala-language.org