A space-separated list of locale strings. If one of the listed locales
matches the system locale, this is used; otherwise, the first available locale
from the list is used. Defaults to the system locale.
Recommended for you
Note: link text is displayed when JavaScript is off
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-20 UTC.
[null,null,["Last updated 2025-05-20 UTC."],[],[],null,["# Localization\n\nWatch Face Format version Version 4 Version 3 Version 2 Version 1\n\n*** ** * ** ***\n\nSpecifies the time zone and calendar format for a parent element whose value\ndepends on the current date and time.\n\nIntroduced in Wear OS 4.\n\nSyntax\n------\n\n```xml\n\u003cLocalization timeZone=\"iana-tz-string\" calendar=\"BUDDHIST | CHINESE |\n COPTIC | DANGI | ETHIOPIC | ETHIOPIC_AMETE_ALEM | GREGORIAN |\n HEBREW | INDIAN | ISLAMIC | ISLAMIC_CIVIL | ISLAMIC_UMALQURA |\n JAPANESE | PERSIAN | ROC\" locales=\"locales-list\"\u003e\n\u003c/Localization\u003e\n```\n\nAttributes\n----------\n\nThe `Localization` element has the following optional attributes:\n\n`timeZone`\n\n: An [IANA time zone identifier](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), such as `Asia/Seoul`,\n `Europe/London`, or `America/Los_Angeles`.\n\n A value of `SYNC_TO_DEVICE` indicates that the expression should use the Wear\n OS device's current time zone.\n\n`calendar`\n\n: An [ICU-supported world calendar](/reference/android/icu/util/Calendar) format. The default is `GREGORIAN`, which\n represents the Gregorian calendar.\n\n`locales`\n\n: A space-separated list of [locale](/reference/java/util/Locale) strings. If one of the listed locales\n matches the system locale, this is used; otherwise, the first available locale\n from the list is used. Defaults to the system locale.\n\nRecommended for you\n-------------------\n\n- Note: link text is displayed when JavaScript is off\n- [Group](/training/wearables/wff/group/group)\n- [PartImage](/training/wearables/wff/group/part/image/part-image)"]]