Obsługa języka
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Usługa Asystenta Google używa silnika rozpoznawania mowy, który rozumie jeden z wielu języków. Te języki określa się w polu language_code
wiadomości DialogStateIn
lub w aplikacji Asystenta Google.
Pole kodu języka składa się z identyfikatora BCP-47. Zwykle mają one postać język-region, gdzie język oznacza język główny, a region oznacza region (zwykle identyfikator kraju) konkretnego dialektu. Na przykład angielski może być reprezentowany przez amerykański angielski (en-US
) lub brytyjski angielski (en-GB
).
Usługa Asystenta Google rozpoznaje mowę i odpowiednio reaguje w tych językach.
Język |
language_code |
Język (angielski) |
niemiecki (Deutschland) |
de-DE |
niemiecki (Niemcy) |
angielski (Australia) |
en-AU |
angielski (Australia) |
angielski (Kanada) |
pl-PL |
angielski (Kanada) |
angielski (Wielka Brytania) |
en-GB |
angielski (Wielka Brytania) |
angielski (Indie) |
pl |
angielski (Indie) |
angielski (Stany Zjednoczone) |
en-US |
angielski (Stany Zjednoczone) |
français (Kanada) |
fr-CA |
francuski (Kanada) |
Français (Francja) |
fr-FR |
francuski (Francja) |
włoski (Italia) |
it-IT |
włoski (Włochy) |
japoński |
ja-JP |
japoński (Japonia) |
Español (España) |
es-ES |
hiszpański (Hiszpania) |
hiszpański (Meksyk) |
es-MX |
hiszpański (Meksyk) |
koreański (대한민국) |
ko-KR |
koreański (Korea Południowa) |
Português (Brasil) |
pt-BR |
portugalski (Brazylia) |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eThe Google Assistant Service leverages speech recognition to understand various languages, specified by the \u003ccode\u003elanguage_code\u003c/code\u003e field or the Google Assistant app settings.\u003c/p\u003e\n"],["\u003cp\u003eLanguage codes adhere to the BCP-47 standard, typically formatted as \u003cem\u003elanguage\u003c/em\u003e -\u003cem\u003eregion\u003c/em\u003e to denote dialects like \u003ccode\u003een-US\u003c/code\u003e for US English and \u003ccode\u003een-GB\u003c/code\u003e for British English.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Assistant Service supports a range of languages for speech recognition and responses, including English, German, French, Italian, Japanese, Spanish, Korean, and Portuguese variations.\u003c/p\u003e\n"],["\u003cp\u003eUsers can refer to the provided table for a comprehensive list of supported languages and their corresponding \u003ccode\u003elanguage_code\u003c/code\u003e values.\u003c/p\u003e\n"]]],["The Google Assistant Service identifies languages using BCP-47 identifiers in the `language_code` field, typically formatted as *language*-*region*. Users can specify the language in the `DialogStateIn` message or within the Google Assistant app. The service supports speech recognition and responses in various languages, including German (de-DE), English (en-AU, en-CA, en-GB, en-IN, en-US), French (fr-CA, fr-FR), Italian (it-IT), Japanese (ja-JP), Spanish (es-ES, es-MX), Korean (ko-KR), and Portuguese (pt-BR).\n"],null,["# Language Support\n\nThe Google Assistant Service uses a speech recognition engine that can\nunderstand one of a wide variety of languages. These languages are\nspecified within a `DialogStateIn` message's `language_code` field or by using\nthe Google Assistant [app](/assistant/sdk/reference/assistant-app/assistant-settings).\n\nThe language code field consists of a\n[BCP-47](https://tools.ietf.org/html/bcp47) identifier. These tags are\ntypically of the form *language* -*region* , where *language* refers to\nthe primary language and *region* refers to the region (usually a\ncountry identifier) of the particular dialect. For example, English\nmay either be represented by American English (`en-US`), or British\nEnglish (`en-GB`).\n\nThe Google Assistant Service can recognize speech and respond back accordingly\nin the following languages.\n\n| Language | `language_code` | Language (English name) |\n|-------------------------|-----------------|--------------------------|\n| Deutsch (Deutschland) | de-DE | German (Germany) |\n| English (Australia) | en-AU | English (Australia) |\n| English (Canada) | en-CA | English (Canada) |\n| English (Great Britain) | en-GB | English (United Kingdom) |\n| English (India) | en-IN | English (India) |\n| English (United States) | en-US | English (United States) |\n| Français (Canada) | fr-CA | French (Canada) |\n| Français (France) | fr-FR | French (France) |\n| Italiano (Italia) | it-IT | Italian (Italy) |\n| 日本語(日本) | ja-JP | Japanese (Japan) |\n| Español (España) | es-ES | Spanish (Spain) |\n| Español (México) | es-MX | Spanish (Mexico) |\n| 한국어 (대한민국) | ko-KR | Korean (South Korea) |\n| Português (Brasil) | pt-BR | Portuguese (Brazil) |"]]