Language

Locale.FilteringMode.MapExtendedRanges Property

Definition

Specifies basic filtering: If any extended language ranges are included in the given Language Priority List, they are mapped to the basic language range.

[Android.Runtime.Register("MAP_EXTENDED_RANGES", ApiSince=26)]
public static Java.Util.Locale.FilteringMode? MapExtendedRanges { get; }
[<Android.Runtime.Register("MAP_EXTENDED_RANGES", ApiSince=26)>]
static member MapExtendedRanges : Java.Util.Locale.FilteringMode

Property Value

The basic-filtering mode that converts an initial wildcard range to * and removes other wildcard subtags from extended ranges.

Attributes

Remarks

Specifies basic filtering: If any extended language ranges are included in the given Language Priority List, they are mapped to the basic language range. Specifically, a language range starting with a subtag "*" is treated as a language range "*". For example, "*-US" is treated as "*". If "*" is not the first subtag, "*" and extra "-" are removed. For example, "ja-*-JP" is mapped to "ja-JP".

Java reference for java.util.Locale.FilteringMode.MAP_EXTENDED_RANGES.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to