diff --git a/packages/components/docs/g11n.md b/packages/components/docs/g11n.md index 0e5d201d27cc..ef6f4a79dd7b 100644 --- a/packages/components/docs/g11n.md +++ b/packages/components/docs/g11n.md @@ -1,10 +1,11 @@ # Notes of globalization - `carbon-components` lets you define most of the markup, which contains most of - the translatable content. Ensure application content in the markup is - translatable as needed. -- Also make sure that list items in the application markup are correctly ordered - for the same reason. + the translatable content: + - Ensure application content in the markup is translatable as needed. + - Make sure that list items in the application markup are correctly ordered. + - Make sure that date/time in the application markup are correctly formatted + considering different formats in different locales. - Date picker component relies on the G11N features in [`Flatpickr` library](<(https://chmln.github.io/flatpickr/)>). See [here](../src/components/date-picker/README.md#localization) for more details. diff --git a/packages/react/docs/g11n.md b/packages/react/docs/g11n.md index ba2163815b11..346b8808b3e2 100644 --- a/packages/react/docs/g11n.md +++ b/packages/react/docs/g11n.md @@ -17,6 +17,8 @@ custom sorting logic should take locale-specific sorting rules into account. - Date picker component relies on the G11N features in [`Flatpickr` library](https://chmln.github.io/flatpickr/). Set `locale` and - `dateFormat` props to fully utilize `Flatpickr` library's G11N features. + `dateFormat` props to fully utilize `Flatpickr` library's G11N features. If + you are using date/time in other components, make sure they are correctly + formatted considering different formats in different locales. - Also refer to [G11N considerations in our vanilla library](https://github.com/IBM/carbon-components/tree/master/docs/g11n.md).