©2009 Google -
Code Home -
Terms of Service -
Privacy Policy -
Site Directory
Google Code offered in:
English -
Español -
日本語 -
한국어 -
Português -
Pусский -
中文(简体) -
中文(繁體)
Documentation for the requested version is not available.Documentation for the requested diff is not available.
The tables below list two types of locale codes:
AccountService.getWebsiteLocale return valueAccountService.getSupportedWebsiteLocale return value - returns unfiltered list of locales (from either column)AccountService.getSupportedWebsiteLocaleForSyndicationService return valuelocale field accepts the Website locale codes listed for "AFS" in the table below.SiteProperties.locale - The language for the search button in AdSenseForSearchServicelocale parameter accepts the Website locale codes listed for "AFC" in the table below.AccountService.setUsersPreferredLocale usersPreferredLocale parameterAccountService.getUsersPreferredLocale return valuedisplay_locale request header
The services accept a subset of ISO-639 two letter language codes, where a few of the codes (such as zh_CN) contain locale-specific codes. Such locale-specific codes can use either an underline (zh_CN) or hyphen (zh-CN) separator.
| Language Name | Website Locale Code | |
|---|---|---|
| AFS | AFC and Referral | |
| Arabic | ar | - |
| Bulgarian | bg | - |
| Chinese (China) | zh_CN | zh_CN |
| Chinese (Taiwan) | zh_TW | zh_TW |
| Croatian | hr | hr |
| Czech | cs | cs |
| Danish | da | da |
| Dutch | nl | nl |
| English | en | en |
| Finnish | fi | fi |
| French | fr | fr |
| German | de | de |
| Greek | el | el |
| Hebrew | iw | iw |
| Hungarian | hu | hu |
| Italian | it | it |
| Japanese | ja | ja |
| Korean | ko | ko |
| Norwegian | no | no |
| Polish | pl | pl |
| Portuguese | pt | pt |
| Romanian | ro | ro |
| Russian | ru | ru |
| Slovak | sk | sk |
| Spanish | es | es |
| Swedish | sv | sv |
| Turkish | tr | tr |
| Language Name | User's Preferred Locale Code |
|---|---|
| Arabic | ar |
| Bulgarian | bg |
| Chinese (China) | zh_CN |
| Chinese (Taiwan) | zh_TW |
| Croatian | hr |
| Czech | cs |
| Danish | da |
| Dutch | nl |
| English (United Kingdom) | en_GB |
| English (United States) | en_US |
| Finnish | fi |
| French | fr |
| German | de |
| Greek | el |
| Hebrew | iw |
| Hungarian | hu |
| Italian | it |
| Japanese | ja |
| Korean | ko |
| Norwegian | no |
| Polish | pl |
| Portuguese (Brazil) | pt_BR |
| Romanian | ro |
| Russian | ru |
| Slovak | sk |
| Spanish | es |
| Swedish | sv |
| Turkish | tr |