Skip to content

Commit efb4bdc

Browse files
ntachevayanisslavdimodiyordan-mitev
authored
[4.2]docs(common):rtl support (#1381)
* docs(common):rtl support Co-authored-by: Yanislav Ivanov <[email protected]> Co-authored-by: Dimo Dimov <[email protected]> Co-authored-by: Yordan <[email protected]>
1 parent 4420f54 commit efb4bdc

File tree

5 files changed

+195
-38
lines changed

5 files changed

+195
-38
lines changed

_contentTemplates/common/general-info.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Make sure that you have a NuGet feed source with the version you want to upgrade
77
#end
88

99
#date-format-per-culture
10-
the `Format` is culture-specific and the same format may produce different results depending on the culture. You can find more information and examples in the [Supported Date Formats]({%slug components/dateinput/supported-formats%}) article.
10+
The `Format` is culture-specific and the same format may produce different results depending on the culture. You can find more information and examples in the [Supported Date Formats]({%slug components/dateinput/supported-formats%}) article.
1111
#end
1212

1313
#cdn

accessibility/keyboard-navigation.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ The Telerik UI for Blazor components may provide enhanced, standard, or no keybo
3030
* *Enhanced keyboard support* builds on top of the standard key combinations and provides additional shortcuts for improved flexibility and user experience.
3131
* The components with no keyboard support serve a purely visualization purpose, are just content containers, provide no interaction, or provide only mouse and touch interaction by design.
3232

33+
## Right-to-Left Support
34+
35+
When the [right-to-left direction is enabled]({%slug rtl-support%}), the keyboard shortcuts for the components that support keyboard navigation remain unchanged except for the `Left arrow` and `Right arrow` keys—their functionality is reversed to follow the right-to-left direction.
36+
37+
3338
## Keyboard Support per Component
3439

3540
The following table lists the available Telerik UI for Blazor components with the type of keyboard support they provide. To see the combinations in action, click the desired component to see its keyboard navigation demo.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: Globalization Formats
3+
page_title: Globalization Formats
4+
description: Learn which Telerik UI for Blazor components support globalization of date and number formats.
5+
slug: globalization-formats
6+
tags: telerik,blazor,globalization,date,number,formats
7+
published: True
8+
position: 3
9+
---
10+
11+
12+
# Globalization of Date And Number Formats
13+
14+
The Telerik UI for Blazor components use the culture of the current thread to render the appropriate culture-specific format for dates, numbers, and currency.
15+
16+
| Component | Date And Number Format Specifics |
17+
|---|---|
18+
| [Calendar](https://demos.telerik.com/blazor-ui/calendar/globalization) | The names of the months and days of the week are taken from the current culture, and the `FirstDayOfWeek` of the culture is honored when ordering the days of the week. The Calendar uses the `ShortestDayNames` array to get the short names for the days of the week and it expects them in the default order coming from the framework - Sunday to Saturday. |
19+
| [Chart](https://demos.telerik.com/blazor-ui/chart/globalization) | The [Label Format Strings]({%slug components/chart/label-template-format%}) and [Tooltip]({%slug chart-tooltip-overview%}) are culture aware (e.g., currency, dates). You can find examples in the [How to localize numeric labels in the Chart]({%slug chart-kb-localized-numeric-labels%}) knowledge base article. |
20+
| [DateInput](https://demos.telerik.com/blazor-ui/dateinput/globalization) | @[template](/_contentTemplates/common/general-info.md#date-format-per-culture) |
21+
| [DatePicker](https://demos.telerik.com/blazor-ui/datepicker/globalization) | @[template](/_contentTemplates/common/general-info.md#date-format-per-culture) |
22+
| [DateRangePicker](https://demos.telerik.com/blazor-ui/daterangepicker/globalization) | @[template](/_contentTemplates/common/general-info.md#date-format-per-culture) |
23+
| [DateTimePicker](https://demos.telerik.com/blazor-ui/datetimepicker/globalization) | @[template](/_contentTemplates/common/general-info.md#date-format-per-culture) |
24+
| [Grid](https://demos.telerik.com/blazor-ui/grid/globalization) | The various inputs and editors are Telerik components and respond to the culture. Custom code and format strings in the templates will also default to using the current culture unless you explicitly use a certain culture in them. |
25+
| [NumericTextBox](https://demos.telerik.com/blazor-ui/numerictextbox/globalization) | The `Format` (for example, currency), decimal separator, group separator and default number of `Decimals` are taken from the current culture. |
26+
| [RangeSlider](https://demos.telerik.com/blazor-ui/rangeslider/globalization) | The labels on the large ticks are formatted according to the current culture and its default decimals. |
27+
| [Scheduler](https://demos.telerik.com/blazor-ui/scheduler/globalization) | Date formats are taken from the culture, in the week view the first day of the week is also taken from the culture even if it does not match the `Date`. The various inputs and editors in the edit form are Telerik components and respond to the culture. |
28+
| [Slider](https://demos.telerik.com/blazor-ui/slider/globalization) | The labels on the large ticks are formatted according to the current culture and its default decimals. |
29+
| [TimePicker](https://demos.telerik.com/blazor-ui/timepicker/globalization) | @[template](/_contentTemplates/common/general-info.md#date-format-per-culture) |
30+
| [TreeList](https://demos.telerik.com/blazor-ui/treelist/globalization) | The various inputs and editors are Telerik components and respond to the culture. Custom code and format strings in the templates will also default to using the current culture unless you explicitly use a certain culture in them. |
31+
32+
## See Also
33+
34+
* [Localization]({%slug globalization-localization%})
35+
* [Supported Date Formats]({%slug components/dateinput/supported-formats%})

0 commit comments

Comments
 (0)