ערכי שפה
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בדף הזה מפורט קוד השפה שבו ניתן להשתמש בממשק המשתמש של מנוע החיפוש, כמו לחצן החיפוש. השפה של מנוע החיפוש שלך גם משפרת את התוצאות בשפה הזו. עם זאת, הוא לא יסנן תוצאות בשפות אחרות. לדוגמה, אם בחרתם בסינית כשפה של מנוע החיפוש, דפי אינטרנט בסינית יקבלו עדיפות גבוהה יותר על פני דפי אינטרנט באנגלית בתוצאות החיפוש.
אפשר להגדיר את השפה בלוח הבקרה או בקובץ ההקשר. בכרטיסייה יסודות בלוח הבקרה, בוחרים את השפה מהרשימה הנפתחת השפה של מנוע החיפוש. בקובץ ההקשר, מגדירים את ערך המאפיין language
של הרכיב CustomSearchEngine
, כמו בדוגמה הבאה:
<CustomSearchEngine volunteers="false"
language="en"
visible="false"
encoding="UTF-8">
</CustomSearchEngine>
בטבלה הבאה מפורטים הערכים הזמינים למאפיין language
.
הערה: אם לא תציינו שפה, Programmable Search Engine ישתמש בערך ברירת המחדל en
(אנגלית).
שפה |
ערך קוד שפה |
המיקום של המשתמש |
ערך ריק (כלומר, language=" " ) |
ערבית |
ar |
בולגרית |
bg |
קטלאנית |
ca |
קרואטית |
hr |
סינית (פשוטה) |
zh-Hans |
סינית (מסורתית) |
zh-Hant |
צ'כית |
cs |
דנית |
da |
הולנדית |
nl |
אנגלית (ברירת מחדל) |
en |
פיליפינית |
fil |
פינית |
fi |
צרפתית |
fr |
גרמנית |
de |
יוונית |
el |
עברית |
he |
הינדי |
hi |
הונגרית |
hu |
אינדונזית |
id |
איטלקית |
it |
יפנית |
ja |
קוריאנית |
ko |
לטבית |
lv |
ליטאית |
lt |
נורווגית |
no |
פולנית |
pl |
פורטוגזית |
pt |
רומנית |
ro |
רוסית |
ru |
סרבית |
sr |
סלובקית |
sk |
סלובנית |
sl |
ספרדית |
es |
שוודית |
sv |
תאית |
th |
טורקית |
tr |
אוקראינית |
uk |
וייטנאמית |
vi |
חזרה למעלה
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eThis page provides language codes for your search engine's user interface and for boosting search results in that language, but it does not filter out other languages.\u003c/p\u003e\n"],["\u003cp\u003eYou can set the language code in the control panel or by editing the \u003ccode\u003elanguage\u003c/code\u003e attribute of the \u003ccode\u003eCustomSearchEngine\u003c/code\u003e element in your context file.\u003c/p\u003e\n"],["\u003cp\u003eA comprehensive table lists all supported language codes and their corresponding languages, with \u003ccode\u003een\u003c/code\u003e (English) as the default if no language is specified.\u003c/p\u003e\n"]]],[],null,["# Language Values\n\nThis page lists the language code you can use in the user interface (UI) of your search engine, such as the search button. The language of you search engine also boosts results in that language; however it does not filter out results in other languages. For example, if you selected Chinese as your search engine language, Chinese webpages will be given higher priority over English webpages in the search results.\n\nYou can define the language either in the control panel or the [context file](/custom-search/docs/context#attributes). In the the **Basics** tab of the control panel, you select the language from the **Search engine language** drop-down list. In the context file, you define the value of `language` attribute of the `CustomSearchEngine` element, as in the following example: \n\n```text\n\u003cCustomSearchEngine volunteers=\"false\"\n language=\"en\"\n visible=\"false\"\n encoding=\"UTF-8\"\u003e\n\u003c/CustomSearchEngine\u003e \n```\n\nThe following table enumerates the available values for the `language` attribute.\n\n**Note:** If you do not specify a language, Programmable Search Engine will use `en` (English) as the default value.\n\n| Language | Language Code Value |\n|-----------------------|---------------------------------------|\n| locale of your user | empty value (that is, `language=\" \"`) |\n| Arabic | `ar` |\n| Bulgarian | `bg` |\n| Catalan | `ca` |\n| Croatian | `hr ` |\n| Chinese (Simplified) | `zh-Hans` |\n| Chinese (Traditional) | `zh-Hant` |\n| Czech | `cs` |\n| Danish | `da` |\n| Dutch | `nl` |\n| English (default) | `en` |\n| Filipino | `fil` |\n| Finnish | `fi` |\n| French | `fr` |\n| German | `de` |\n| Greek | `el` |\n| Hebrew | `he` |\n| Hindi | `hi` |\n| Hungarian | `hu` |\n| Indonesian | `id` |\n| Italian | `it` |\n| Japanese | `ja` |\n| Korean | `ko` |\n| Latvian | `lv` |\n| Lithuanian | `lt` |\n| Norwegian | `no` |\n| Polish | `pl` |\n| Portuguese | `pt` |\n| Romanian | `ro` |\n| Russian | `ru` |\n| Serbian | `sr` |\n| Slovak | `sk` |\n| Slovenian | `sl` |\n| Spanish | `es` |\n| Swedish | `sv` |\n| Thai | `th` |\n| Turkish | `tr` |\n| Ukrainian | `uk` |\n| Vietnamese | `vi` |\n[ ]\n\n[Back to top](#top)"]]