LocalizedMessage
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
যদি ইনকামিং রিকোয়েস্টে Accept-Language
হেডারটি "ইংরেজি" না হয়, তাহলে Apps Script API দ্বারা প্রত্যাবর্তিত ত্রুটির মধ্যে এই বার্তাটি অন্তর্ভুক্ত থাকে। এতে অনুরোধ করা লোকেলে অনুবাদ করা একই ত্রুটির পাঠ্য রয়েছে।
JSON প্রতিনিধিত্ব |
---|
{
"locale": string,
"message": string
} |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe \u003ccode\u003eAccept-Language\u003c/code\u003e header in the request determines the language of error messages.\u003c/p\u003e\n"],["\u003cp\u003eError responses may contain a localized message object with the locale and translated message.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elocale\u003c/code\u003e field follows the BCP 47 specification for language tags (e.g., "en-US").\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emessage\u003c/code\u003e field provides the error message translated into the specified locale.\u003c/p\u003e\n"]]],[],null,["# LocalizedMessage\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nIf the `Accept-Language` header in the incoming request is not \"English\", then errors returned by the Apps Script API include this message. It contains the same error text translated to the requested locale.\n\n| JSON representation |\n|-------------------------------------------------|\n| ``` { \"locale\": string, \"message\": string } ``` |\n\n| Fields ||\n|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `locale` | `string` The locale used following the specification defined at \u003chttps://www.rfc-editor.org/rfc/bcp/bcp47.txt\u003e. Examples are: \"en-US\", \"fr-CH\", \"es-MX\" |\n| `message` | `string` The localized error message in the above locale. |"]]