GoogleApi.ContentWarehouse.V1.Model.GeostoreLocaleLanguageProto
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
Description
This message describes the details of a single language within a locale.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
language
(type:String.t
, default:nil
)
- The language associated with this preference. The external form of a Google International Identifiers Initiative (III) LanguageCode object. See google3/i18n/identifiers/languagecode.h for details. We place extra restrictions on languages in addition to what the III library requires. See http://go/geo-schema-reference/feature-properties/languages.md -
official
(type:boolean()
, default:nil
)
- Flag to indicate if the associated language is "official" within a locale. -
preference
(type:number()
, default:nil
)
- This value represents the preference of the associated language within a locale. It must be between 0.0 and 1.0. -
speakingPercent
(type:number()
, default:nil
)
- Percentage of population that can speak the associated language within a locale. It must be between 0 and 100. -
writingPercent
(type:number()
, default:nil
)
- Percentage of population that can write the associated language within a locale. It must be between 0 and 100.
Type
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreLocaleLanguageProto