LocalizationSettings
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
تنظیمات محلی سازی برای گزارش ها، مانند ارز و زبان. این بر نحوه محاسبه معیارها تأثیر می گذارد.
نمایندگی JSON |
---|
{
"currencyCode": string,
"languageCode": string
} |
فیلدها |
---|
currencyCode | string کد ارز معیارهای مربوط به درآمد، که کد 3 حرفی تعریف شده در ISO 4217 است. نرخ متوسط روزانه برای تبدیل ارز استفاده می شود. در صورت نامشخص بودن کد ارز حساب پیشفرض میشود. |
languageCode | string زبان مورد استفاده برای هر متن محلی، مانند برخی از برچسب های نمایش ارزش ابعاد. تگ زبان تعریف شده در IETF BCP47. در صورت نامشخص بودن، پیشفرض «en-US» است. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-21 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-21 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eLocalization settings influence how report metrics are calculated and displayed, encompassing currency and language preferences.\u003c/p\u003e\n"],["\u003cp\u003eThese settings are defined using JSON, with \u003ccode\u003ecurrencyCode\u003c/code\u003e specifying the currency for earning metrics and \u003ccode\u003elanguageCode\u003c/code\u003e determining the language for localized text.\u003c/p\u003e\n"],["\u003cp\u003eCurrency defaults to the account's currency if \u003ccode\u003ecurrencyCode\u003c/code\u003e is not specified, and the language defaults to 'en-US' if \u003ccode\u003elanguageCode\u003c/code\u003e is not provided.\u003c/p\u003e\n"]]],["The JSON representation defines localization settings for reports, including `currencyCode` and `languageCode`. `currencyCode`, a string using ISO 4217, determines the currency for earnings metrics and defaults to the account currency. `languageCode`, a string using IETF BCP47, dictates the language for localized text and defaults to 'en-US'. These settings impact metric calculations and the display of localized elements within reports.\n"],null,["# LocalizationSettings\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nLocalization settings for reports, such as currency and language. It affects how metrics are calculated.\n\n| JSON representation |\n|------------------------------------------------------------|\n| ``` { \"currencyCode\": string, \"languageCode\": string } ``` |\n\n| Fields ||\n|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `currencyCode` | `string` Currency code of the earning related metrics, which is the 3-letter code defined in ISO 4217. The daily average rate is used for the currency conversion. Defaults to the account currency code if unspecified. |\n| `languageCode` | `string` Language used for any localized text, such as some dimension value display labels. The language tag defined in the IETF BCP47. Defaults to 'en-US' if unspecified. |"]]