Send feedback
language_constant
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
The language_constant
resource provides information about different languages.
Key fields available are the language code, ID, full English name, resource name, and whether the language is targetable.
These fields can be used to filter, select, and sort language constant data.
The language code is provided in formats like "en_US" or "es", and the full name in English like "English (US)" or "Spanish".
Help me build a query
A language.
language_constant.code
Field description Output only. The language code, for example, "en_US", "en_AU", "es", "fr", etc.
Category ATTRIBUTE
Data Type STRING
Type URL N/A
Filterable True
Selectable True
Sortable True
Repeated False
language_constant.id
Field description Output only. The ID of the language constant.
Category ATTRIBUTE
Data Type INT64
Type URL N/A
Filterable True
Selectable True
Sortable True
Repeated False
language_constant.name
Field description Output only. The full name of the language in English, for example, "English (US)", "Spanish", etc.
Category ATTRIBUTE
Data Type STRING
Type URL N/A
Filterable True
Selectable True
Sortable True
Repeated False
language_constant.resource_name
Field description Output only. The resource name of the language constant. Language constant resource names have the form: languageConstants/{criterion_id}
Category ATTRIBUTE
Data Type RESOURCE_NAME
Type URL N/A
Filterable True
Selectable True
Sortable False
Repeated False
language_constant.targetable
Field description Output only. Whether the language is targetable.
Category ATTRIBUTE
Data Type BOOLEAN
Type URL N/A
Filterable True
Selectable True
Sortable True
Repeated False
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-16 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-16 UTC."],[],[]]