LocaleSelect
A select of locales that writes the ASP.NET Core culture cookie and reloads the page.
On this page
Examples
Locale select
Server setup: app.UseRequestLocalization(...) with the same cultures; the default cookie provider reads the cookie. Components follow the culture automatically. In WebAssembly, render KlyCultureMeta in the head and call ApplyServerCultureAsync in the client Program.cs so the client picks the same culture.
Current UI culture:
Formats of the components:
Locale of the components: en
@using System.Globalization
@inject KlyrooOptions Options
@* Needs app.UseRequestLocalization with the same cultures on the server: the select only writes the culture cookie.
Without Locales it offers KlyrooOptions.Locales, the twelve built-in ones. *@
<div class="flex flex-col items-center gap-3">
<KlyLocaleSelect data-testid="locale-select" />
<p class="text-sm text-(--klyroo-text-muted)">Current UI culture: <code data-testid="locale-current">@CultureInfo.CurrentUICulture.Name</code></p>
<div class="flex items-center gap-3" data-testid="locale-formats">
<KlyInputTime Value="@(new TimeOnly(15, 30))" AriaLabel="Time" />
<KlyCalendar Value="@(new DateOnly(2026, 11, 20))" Size="KlySize.Sm" AriaLabel="Calendar" />
</div>
<p class="text-sm text-(--klyroo-text-muted)">Formats of the components: <code data-testid="locale-format-culture">@CultureInfo.CurrentCulture.Name</code></p>
<p class="text-sm text-(--klyroo-text-muted)">Locale of the components: <code data-testid="locale-resolved">@Options.ResolveLocale(CultureInfo.CurrentUICulture).Code</code></p>
</div>Locales per subtree
KlyApp Locale sets the texts, the direction and the date and number culture of everything inside it. Arabic is right to left.
Français (fr, ltr)
العربية (ar, rtl)
日本語 (ja, ltr)
@* One KlyApp per locale: its texts, its writing direction and the culture of its dates and numbers apply to everything inside.
Nothing here needs interactivity, so it renders the same in every mode. *@
<div class="grid w-full gap-4 md:grid-cols-3">
@foreach (var locale in _locales)
{
<KlyApp Locale="locale" Toaster="false" Class="flex flex-col gap-3 rounded-lg border border-(--klyroo-border) p-4" data-testid="@($"locale-panel-{locale.Code}")">
<p class="font-medium">@locale.Name <span class="text-xs text-(--klyroo-text-muted)">(@locale.Code, @locale.DirAttribute)</span></p>
<KlyFileUpload MaxSize="1536" />
<KlyCalendar Value="@_date" Size="KlySize.Sm" />
</KlyApp>
}
</div>
@code {
private static readonly KlyLocale[] _locales = [KlyLocales.Fr, KlyLocales.Ar, KlyLocales.Ja];
private readonly DateOnly _date = new(2026, 3, 5);
}Switching at runtime
Changing the Locale parameter re-renders the components below in the new language. The buttons need interactivity.
Locale: en, direction: ltr
@* Changing the Locale parameter of KlyApp re-renders every component below it, in the new language and direction.
The buttons need interactivity (they render disabled until the page is interactive); to follow the language of the
user on every load, rely on the automatic locale and KlyLocaleSelect instead. *@
<div class="flex w-full flex-col gap-4">
<div class="flex flex-wrap gap-2" role="group" aria-label="Locale">
@foreach (var locale in _locales)
{
<KlyButton Label="@locale.Name" Variant="@(locale == _locale ? ButtonVariant.Solid : ButtonVariant.Outline)" OnClick="() => Select(locale)" data-testid="@($"locale-switch-{locale.Code}")" />
}
</div>
<KlyApp Locale="_locale" Toaster="false" Class="flex flex-col gap-3 rounded-lg border border-(--klyroo-border) p-4" data-testid="locale-switch-panel">
<p>Locale: <code data-testid="locale-switch-code">@_locale.Code</code>, direction: <code data-testid="locale-switch-dir">@_locale.DirAttribute</code></p>
<KlyFileUpload MaxSize="2048" />
<KlyPagination Total="50" Page="2" />
</KlyApp>
</div>
@code {
private static readonly KlyLocale[] _locales = [KlyLocales.En, KlyLocales.Fr, KlyLocales.Ar];
private KlyLocale _locale = KlyLocales.En;
private void Select(KlyLocale locale) => _locale = locale;
}Extending a locale
KlyLocales.Extend keeps every message you do not override.
Locale: fr-CA
@* KlyLocales.Extend derives a locale and overrides only the messages you list; the others are kept. *@
<KlyApp Locale="_canadian" Toaster="false" Class="flex w-full flex-col gap-3" data-testid="locale-extend">
<p>Locale: <code data-testid="locale-extend-code">@_canadian.Code</code></p>
<KlyFileUpload MaxSize="1536" />
</KlyApp>
@code {
private static readonly KlyLocale _canadian = KlyLocales.Extend(KlyLocales.Fr, code: "fr-CA", name: "Français (Canada)",
messages: m => m with { DropFiles = "Glissez-déposez vos fichiers ici ou cliquez pour parcourir" });
}API
KlyLocaleSelect
Select of the available locales. Choosing one writes the culture cookie and reloads the page.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
AriaLabel |
string |
Accessible name of the select. Defaults to the built-in text. | |
Class |
string |
Classes added to the root element, merged last so they win over the theme. | |
Color |
KlyColor |
"primary" |
Semantic color of the locale select: a built-in KlyColor or the name of a color you defined. When not set, Color applies, else the default of the component. Values: primary, secondary, success, info, warning, error, neutral. |
CookieName |
string |
". |
The cookie to write. The default is the one the ASP.NET Core request localization middleware reads. |
CookiePath |
string |
"/" |
The path of the cookie. It must cover every page that is localized. The default "/" makes the culture one for the whole origin: a language chosen in an app applies to the other apps of that origin, such as the ones served below a path base. It has to stay "/" for that to work, because a server keeps the last of two cookies of the same name and the cookie of another path could win. |
Locales |
IReadOnlyList |
The locales to offer, shown by Name (with Flag when set). Defaults to Locales . Each code must be a culture the server supports. | |
Reload |
bool? |
Reloads the page after the choice is saved. In a browser it is on by default (the server renders the page in the new culture). In a Blazor Hybrid web view it is off by default: the culture of a .NET process is read at start, so set it to true to apply the choice right away (the culture of the process is changed and the web view reloads, losing the state of the page), or leave it off and let the choice apply at the next start. | |
Size |
KlySize |
KlySize. |
Size of the select, from Xs to Xl . Values: Xs, Sm, Md, Lg, Xl. |
Ui |
LocaleSelectUi |
Per-instance class overrides of the slots of the locale select, see LocaleSelectUi . They are merged after the theme and the Class parameter wins on the root slot. | |
Value |
string |
The selected locale code. Defaults to the code of the locale in effect (the enclosing KlyApp , or the one matching the current UI culture). In WebAssembly the client has its own culture: pass the value when it can differ from the server's. | |
Variant |
FieldVariant |
FieldVariant. |
Look of the field: Outline , Soft , Subtle , Ghost or None . Values: Outline, Soft, Subtle, Ghost, None. |
Events
| Name | Type | Description |
|---|---|---|
OnLocaleChange |
EventCallback |
Raised with the code of the chosen locale in a Blazor Hybrid web view, after it was saved. A browser has no use for it: the page reloads. |
Ui slots
Ui takes a LocaleSelectUi with one class string per slot, merged after the theme.
| Slot | Styles |
|---|---|
Root |
Classes merged into the root slot of KlyLocaleSelect , after the theme and the app configuration. |
KlyLocale
A language of the UI: its code, its name, its writing direction and every text the components render. Locale definition for component labels and text direction. Use a built-in one from KlyLocales , derive one with KlyMessages}) , or create it with new KlyLocale(...) .
Parameters
| Name | Type | Description |
|---|---|---|
Code |
string |
A culture name such as "fr" or "pt-BR". It is the value written to the culture cookie by KlyLocaleSelect , the lang attribute of the page, and the culture used to format dates and numbers. |
Culture |
CultureInfo |
The culture of Code , used by date, number and file size formatting when a component has no explicit Culture . A code the runtime does not know gives the invariant culture. |
Dir |
KlyDirection |
The writing direction of the language, Ltr or Rtl . Values: Ltr, Rtl, Auto. |
DirAttribute |
string |
The value of the dir attribute: "ltr" or "rtl". |
Flag |
string |
Shown before the name by KlyLocaleSelect : a flag emoji, or any short text. Some systems (Windows) draw flag emoji as letters. |
Messages |
KlyMessages |
The texts of the components. |
Name |
string |
The name of the language in that language ("Français"), shown by KlyLocaleSelect . |
KlyMessages
Every text the components render: accessible names, labels, placeholders, announcements. A KlyLocale carries one set; build a variant with a with expression ( KlyLocales.En.Messages with { Close = "Dismiss" } ).
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
AllDay |
string |
"All day" |
The time of a schedule event that lasts whole days ( "All day" ). |
Auth |
string |
"Enter all {0} characters." |
Error of an incomplete one-time code; {0} is the number of characters. |
Auth |
string |
"Enter a valid email address." |
Error that KlyAuthForm shows when an email field holds an address that is not valid. |
AuthFormRequired |
string |
"{0} is required." |
Error of an empty required field of an auth form; {0} is the field label. |
Auth |
string |
"or" |
Text between the providers and the fields of an auth form, unless Separator is set. |
Auth |
string |
"Show password" |
Accessible name of the button of an auth form that shows or hides a password. |
AuthFormSubmit |
string |
"Continue" |
Label of the submit button of an auth form that has none. |
Breadcrumb |
string |
"Breadcrumb" |
Accessible name of the navigation landmark of KlyBreadcrumb . |
Brightness |
string |
"Brightness" |
Accessible name of the brightness control of KlyColorPicker . |
Cancel |
string |
"Cancel" |
Label of the cancel button of the dialog opened by CancellationToken) . |
Carousel |
string |
"carousel" |
Spoken by screen readers for the carousel itself ( aria-roledescription ). |
Carousel |
string |
"slide" |
Spoken by screen readers for each slide ( aria-roledescription ). |
ChartArea |
string |
"Area chart" |
Accessible name of an area chart ( KlyChart`2 ), read before its generated description. |
ChartBar |
string |
"Bar chart" |
Accessible name of a bar chart ( KlyChart`2 ), read before its generated description. |
Chart |
string |
"Horizontal bar chart" |
Accessible name of a horizontal bar chart ( KlyChart`2 ), read before its generated description. |
ChartDonut |
string |
"Donut chart" |
Accessible name of a donut chart ( KlyChart`2 ), read before its generated description. |
ChartHint |
string |
"Chart values. Use the arrow keys to move between points." |
Accessible name of a chart that can be explored with the keyboard. |
ChartHintSelect |
string |
"Press Enter to select the point." |
Added to ChartHint when the chart reports a selection ( OnSelect ): how to choose the point the arrow keys are on. |
ChartIndex |
string |
"Category" |
Header of the first column of the data table, when the chart has no x axis title. |
ChartLegend |
string |
"Legend" |
Accessible name of the legend. |
ChartLine |
string |
"Line chart" |
Kind of chart, used in the generated description. |
ChartRange |
string |
"{0} ({1} to {2})" |
One series in the description. {0} name, {1} lowest value, {2} highest value. |
ChartSlice |
string |
"{0} {1} ({2})" |
One slice in the description. {0} name, {1} value, {2} share. |
ChartSummary |
string |
"{0} with {1} data points from {2} to {3}. Series: {4}." |
Generated description of a line, area or bar chart. {0} kind, {1} number of points, {2} first, {3} last, {4} the series (each formatted with ChartRange ). |
Chart |
string |
"{0}. Slices: {1}." |
Generated description of a donut chart. {0} kind, {1} the slices (each formatted with ChartSlice ). |
ChartTable |
string |
"Data table" |
Summary of the disclosure that holds the chart's data table. |
ChartValue |
string |
"Value" |
The name of the series of a funnel KlyChart`2 or a chart without a name, used in the tooltip and the data table ( "Value" ). |
ChatAssistant |
string |
"Assistant" |
Name of the author of an assistant message in KlyChatMessage , used as the accessible name of its avatar. |
Chat |
string |
"failed" |
Word that KlyChatAttachment shows when the upload of a file failed. |
Chat |
string |
"uploading" |
Read out after the name of an attachment that is uploading or failed. |
ChatConversation |
string |
"Conversation" |
Accessible name of the list of messages of a conversation. |
ChatError |
string |
"Something went wrong. Try again." |
Shown under the messages when the last request failed. |
ChatJumpToLatest |
string |
"Jump to latest" |
Text of the button that scrolls a conversation back to its latest message. |
ChatPromptLabel |
string |
"Message" |
Accessible name and placeholder of the message field of a chat prompt. |
Chat |
string |
"Type a message..." |
Placeholder of the text area of KlyChatPrompt . |
Chat |
string |
"Remove {0}" |
Accessible name of the button that removes an attachment: {0} is the file name. |
ChatResponding |
string |
"Assistant is responding" |
Read out while an answer is pending or arriving. |
ChatRetry |
string |
"Retry" |
Label of the retry button of KlyChatPromptSubmit , shown after an error. |
ChatSend |
string |
"Send" |
Accessible names of the submit button of a chat prompt: send, stop the answer, retry after an error. |
ChatStop |
string |
"Stop" |
Label of the stop button of KlyChatPromptSubmit , shown while an answer is on its way. |
ChatSystem |
string |
"System" |
Name of the author of a system message in KlyChatMessage , used as the accessible name of its avatar. |
ChatThinking |
string |
"Thinking..." |
Label of a reasoning block while it streams, and when it is done without a known duration. |
ChatThought |
string |
"Thought" |
Title of KlyChatReasoning once the reasoning has finished. |
ChatThoughtFor |
string |
"Thought for {0} seconds" |
Label of a finished reasoning block: {0} is the number of seconds. |
ChatToolFailed |
string |
"failed" |
Word that KlyChatTool adds to its name when the tool call failed. |
ChatToolRunning |
string |
"running" |
Read out after the name of a tool call that is running or failed. |
ChatUser |
string |
"You" |
Accessible names of the authors of a message. |
ChooseDate |
string |
"Choose date" |
Accessible name of the button of KlyInputDate`1 that opens its calendar. |
Close |
string |
"Close" |
Accessible name of the close button of alerts, banners, modals, drawers, slideovers, toasts, tags, chat attachments and the other dismissible components. |
CollapseSidebar |
string |
"Collapse sidebar" |
Name of the button that collapses a sidebar to icons; it is pressed while the sidebar is collapsed. |
ColorMode |
string |
"Color mode" |
Accessible name of KlyColorModeSelect . |
ColorModeDark |
string |
"Dark" |
Label of the dark option of KlyColorModeSelect . |
ColorModeLight |
string |
"Light" |
Label of the light option of KlyColorModeSelect . |
ColorModeSystem |
string |
"System" |
Label of the option of KlyColorModeSelect that follows the system setting. |
Command |
string |
"Esc to close" |
Accessible name of the "Esc" button that closes a KlyCommandPalette opened with CloseOnSelect (a content search, a dashboard search). It starts with the visible text of the button, so a voice control user can say it (WCAG 2.5.3). |
CommandResults |
string |
"{0} results available" |
Announced to screen readers after filtering; {0} is the number of results. |
Confirm |
string |
"Confirm" |
Label of the confirm button of the dialog opened by CancellationToken) . |
Content |
string |
"Documentation" |
Accessible name of a KlyContentNavigation that has no AriaLabel . |
ContentNext |
string |
"Next" |
Caption of the link to the next page. |
ContentPrevious |
string |
"Previous" |
Caption of the link to the previous page. |
ContentSearch |
string |
"Search documentation" |
Accessible name of the documentation search dialog and its search field. |
Content |
string |
"Search" |
Text of the button that opens the documentation search. |
Content |
string |
"The search could not be loaded." |
Shown when the search index could not be fetched. |
Content |
string |
"Loading the search index..." |
Shown while the search index of a KlyContentSearch with an IndexUrl is being fetched. |
Content |
string |
"Search the documentation..." |
Placeholder of the documentation search field. |
Content |
string |
"Try again" |
Text of the button that fetches the search index again after an error. |
ContentSurround |
string |
"Previous and next pages" |
Accessible name of the previous and next page links. |
ContentToc |
string |
"On this page" |
Title of a KlyContentToc that has no Title . |
ContextMenu |
string |
"Context menu" |
Accessible name of the menu of KlyContextMenu . |
CopyValue |
string |
"Copy {0}" |
The accessible name of a copy button. {0} is the label or value it copies ( "Copy Email" ). |
DashboardSearch |
string |
"Search" |
Accessible name of the dashboard search dialog and its search field. |
Dashboard |
string |
"Search" |
Text of the button that opens the dashboard search. |
Dashboard |
string |
"Type a command or search..." |
Placeholder of the dashboard search field. |
DayCount |
Func |
The length of a range KlyDateTile or of an all-day event of a schedule, given the number of days ( "7 days" ). | |
DayPeriod |
string |
"AM/ |
Accessible name of the AM/PM segment of KlyInputTime . |
DaysOverdue |
Func |
The countdown text of a KlyDateTile for a past date, given the number of days ( "3 days overdue" ). | |
Details |
string |
"Details" |
The toggle that opens the lines of a collapsible KlyBreakdown ( "Details" ). |
DropFiles |
string |
"Drop files here or click to browse" |
Text of the drop zone of KlyFileUpload . |
Duration |
Func |
The length of a schedule event, given its total number of minutes ( "1 h 30 min" , "45 min" , "2 h" ). The length is never negative. | |
Editor |
string |
"This address is not accepted." |
Explains why the editor refused an address when no list of schemes is known. |
EditorBlockquote |
string |
"Quote" |
Label of the quote button of the editor toolbar and of its slash menu entry. |
EditorBold |
string |
"Bold" |
Label of the bold button of the editor toolbar ( KlyEditorToolbar ). |
EditorBulletList |
string |
"Bulleted list" |
Label of the bulleted list button of the editor toolbar and of its slash menu entry. |
Editor |
string |
"Clear formatting" |
Label of the button of the editor toolbar that removes the formatting of the selection. |
EditorCode |
string |
"Code" |
Label of the inline code button of the editor toolbar ( KlyEditorToolbar ). |
EditorCodeBlock |
string |
"Code block" |
Label of the code block button of the editor toolbar and of its slash menu entry. |
Editor |
string |
"Quote a passage" |
Description of the quote entry of the slash menu of KlyEditor . |
Editor |
string |
"A simple list of points" |
Description of the bulleted list entry of the slash menu of KlyEditor . |
Editor |
string |
"Monospaced code" |
Description of the code block entry of the slash menu of KlyEditor . |
Editor |
string |
"Big section heading" |
Description of the level 1 heading entry of the slash menu of KlyEditor . |
Editor |
string |
"Medium section heading" |
Description of the level 2 heading entry of the slash menu of KlyEditor . |
Editor |
string |
"Small section heading" |
Description of the level 3 heading entry of the slash menu of KlyEditor . |
Editor |
string |
"A horizontal line" |
Description of the divider entry of the slash menu of KlyEditor . |
Editor |
string |
"A list with numbers" |
Description of the numbered list entry of the slash menu of KlyEditor . |
Editor |
string |
"Plain paragraph" |
Description of the paragraph entry of the slash menu of KlyEditor . |
EditorDragHandle |
string |
"Drag to move block" |
Accessible name of the button that drags a block (it also moves with Alt and the arrow keys). |
EditorEmojiMenu |
string |
"Emoji" |
Accessible name of the list of the emoji menu. |
EditorHeading |
string |
"Heading {0}" |
Label of a heading button; {0} is the level. |
Editor |
string |
"Divider" |
Label of the divider button of the editor toolbar and of its slash menu entry. |
EditorImage |
string |
"Image" |
Label of the image button of the editor toolbar ( KlyEditorToolbar ). |
EditorImageUrl |
string |
"Image address" |
Accessible name of the field that takes the address of an image (the button is EditorLinkApply ). |
EditorItalic |
string |
"Italic" |
Label of the italic button of the editor toolbar ( KlyEditorToolbar ). |
EditorLabel |
string |
"Rich text editor" |
Accessible name of the editable area when no label is given. |
EditorLink |
string |
"Link" |
Label of the link button of the editor toolbar ( KlyEditorToolbar ). |
EditorLinkApply |
string |
"Apply" |
Label of the button of the link and image address form of KlyEditorToolbar that applies the address. |
EditorLinkRemove |
string |
"Remove link" |
Label of the button of the link form of KlyEditorToolbar that removes the link. |
EditorLinkUrl |
string |
"Link address" |
Accessible name of the field that takes the address of a link. |
Editor |
string |
"Mentions" |
Accessible name of the list of the mention menu. |
EditorMoveDown |
string |
"Move block down" |
Accessible name of the action that moves the current block of the editor down. |
EditorMoveUp |
string |
"Move block up" |
Accessible name of the action that moves the current block of the editor up. |
EditorNoResults |
string |
"No results" |
Text shown by the slash, mention and emoji menus of KlyEditor when nothing matches what was typed. |
Editor |
string |
"Numbered list" |
Label of the numbered list button of the editor toolbar and of its slash menu entry. |
EditorParagraph |
string |
"Paragraph" |
Label of the paragraph button of the editor toolbar and of its slash menu entry. |
EditorRedo |
string |
"Redo" |
Label of the redo button of the editor toolbar ( KlyEditorToolbar ). |
Editor |
string |
"Only {0} addresses are accepted." |
Explains why the editor refused an address when it takes only some schemes; {0} lists them ("https, http, mailto"). |
EditorStrike |
string |
"Strikethrough" |
Label of the strikethrough button of the editor toolbar ( KlyEditorToolbar ). |
Editor |
string |
"Commands" |
Accessible name of the list of the slash menu. |
Editor |
string |
"Text" |
Name of the plain text entry of the slash menu. |
EditorTaskItem |
string |
"Task: {0}" |
Accessible name of the checkbox of a task item; {0} is the text of the item. |
EditorTaskList |
string |
"Task list" |
Label of the task list button of the editor toolbar. |
EditorToolbar |
string |
"Formatting" |
Accessible name of the editor toolbar. |
EditorUnderline |
string |
"Underline" |
Label of the underline button of the editor toolbar ( KlyEditorToolbar ). |
EditorUndo |
string |
"Undo" |
Label of the undo button of the editor toolbar ( KlyEditorToolbar ). |
ErrorBackHome |
string |
"Back to home" |
Label of the link of KlyError that goes back to the home page. |
ErrorForbidden |
string |
"Access denied" |
Title of KlyError for status 403. |
Error |
string |
"You do not have permission to view this page." |
Message of KlyError for status 403. |
ErrorNotFound |
string |
"Page not found" |
Title of KlyError for status 404. |
Error |
string |
"The page you are looking for does not exist or has moved." |
Message of KlyError for status 404. |
ErrorServer |
string |
"Something went wrong" |
Title of KlyError for status 500 and any other status without its own text. |
Error |
string |
"An unexpected error occurred. Please try again later." |
Message of KlyError for status 500 and any other status without its own text. |
Error |
string |
"Sign in required" |
Title of KlyError for status 401. |
Error |
string |
"You need to sign in to view this page." |
Message of KlyError for status 401. |
FileNotAccepted |
string |
"{0} is not an accepted file type." |
Error of KlyFileUpload for a file whose type is not accepted; {0} is the file name. |
FileSizeBytes |
string |
"{0} B" |
A size in bytes ( {0} is the number, formatted for the culture of the locale). |
File |
string |
"{0} GB" |
A size in gigabytes. |
File |
string |
"{0} KB" |
A size in kilobytes. |
File |
string |
"{0} MB" |
A size in megabytes. |
FileTooLarge |
string |
"{0} is larger than {1}." |
Error of KlyFileUpload for a file over the size limit; {0} is the file name and {1} the limit. |
FirstPage |
string |
"First page" |
Accessible name of the first page button of KlyPagination . |
FooterLinks |
string |
"Footer" |
Accessible name of the link columns of a footer. |
FormSummaryTitle |
string |
"Please fix the following errors" |
Title of the list of validation errors that KlyForm shows when ShowSummary is on. |
GoToSlide |
string |
"Go to slide {0}" |
Accessible name of a slide dot of KlyCarousel ; {0} is the slide number. |
HeaderMenu |
string |
"Menu" |
Title of the mobile menu panel of a header, and name of its navigation. |
HeaderNavigation |
string |
"Main menu" |
Accessible name of the site navigation of a header. |
HexColor |
string |
"Hex color" |
Accessible name of the hex field of KlyColorPicker . |
HideDetails |
string |
"Hide details" |
The toggle that closes the details of a KlyAlert or the lines of a collapsible KlyBreakdown ( "Hide details" ). |
Hours |
string |
"Hours" |
Accessible name of the hours segment of KlyInputTime . |
Hue |
string |
"Hue" |
Accessible name of the hue slider of KlyColorPicker . |
ImageAlt |
string |
"Image {0}" |
The alternative text of an image of a KlyImageGallery that has none. {0} is its position ( "Image 2" ). |
InDays |
Func |
The countdown text of a KlyDateTile for a date two days away or more, given the number of days ( "In 5 days" ). | |
Input |
string |
"No results" |
Text shown by KlyInputMenu`1 when no suggestion matches what was typed. |
Input |
string |
"Suggestions" |
Accessible name of the list of suggestions of KlyInputMenu`1 . |
Input |
string |
"Decrease" |
Accessible name of the decrease button of KlyInputNumber`1 . |
Input |
string |
"Increase" |
Accessible name of the increase button of KlyInputNumber`1 . |
InputRatingValue |
string |
"{0} out of {1}" |
Label of one star of a rating; {0} is its value, {1} the maximum. |
InputTagsRemove |
string |
"Remove {0}" |
Label of the button that removes a tag; {0} is the tag. |
LastPage |
string |
"Last page" |
Accessible name of the last page button of KlyPagination . |
LoadMore |
string |
"Load more" |
Text of the button of KlyInfiniteScroll that loads the next items by hand. |
LoadingMore |
string |
"Loading more..." |
Announced politely while KlyInfiniteScroll loads the next items. |
Locale |
string |
"Language" |
Accessible name of a language select. |
MaximumSize |
string |
"Maximum size {0}" |
Hint of KlyFileUpload that states the size limit; {0} is the limit, formatted for the locale. |
Meter |
string |
"Meter" |
The accessible name of a KlyMeter without a title ( "Meter" ). |
Minutes |
string |
"Minutes" |
Accessible name of the minutes segment of KlyInputTime . |
ModifierKey |
string |
"Ctrl" |
Name of the key that "mod" stands for in the hint of a shortcut ( mod+k ): "Ctrl", "Strg" in German. On Apple devices the browser shows the command symbol instead. |
MoreAvatars |
string |
"{0} more" |
Name of the "+N" avatar of an avatar group; {0} is the number of hidden avatars. |
NextMonth |
string |
"Next month" |
Accessible name of the next month button of KlyCalendar . |
NextPage |
string |
"Next page" |
Accessible name of the next page button of KlyPagination . |
NextSlide |
string |
"Next slide" |
Accessible name of the next button of KlyCarousel . |
NoCommandResults |
string |
"No results found" |
Text shown by KlyCommandPalette when no command matches the search. |
NoData |
string |
"No data" |
Text shown by KlyChart2 and KlyTable1 when there is nothing to show. |
NoMoreItems |
string |
"No more items" |
Announced politely when KlyInfiniteScroll has no more items to load, and shown by ShowEnd . |
Notifications |
string |
"Notifications" |
Accessible name of the list of toasts of KlyToaster . |
OpenHeaderMenu |
string |
"Open menu" |
Name of the button that opens the mobile menu of a header. |
OpenSidebar |
string |
"Open sidebar" |
Name of the button that opens the mobile panel of a sidebar. |
OpensInNewTab |
string |
" |
Hidden text added to the name of a page link that opens in a new tab. |
Page |
string |
"Page" |
Prefix of the accessible name of a page button of KlyPagination ("Page 3"). |
PageAnchors |
string |
"On this page" |
Accessible name of a KlyPageAnchors list that has no AriaLabel . |
PageLinks |
string |
"Links" |
Accessible name of a KlyPageLinks list that has neither a title nor an AriaLabel . |
Pagination |
string |
"Pagination" |
Accessible name of the navigation landmark of KlyPagination when no AriaLabel is given. |
PauseSlides |
string |
"Pause automatic slide show" |
Accessible name of the button of KlyCarousel that pauses the automatic rotation. |
PinInput |
string |
"Character {0} of {1}" |
Label of one box of a pin input; {0} is its position, {1} the number of boxes. |
PlaySlides |
string |
"Start automatic slide show" |
Accessible name of the button of KlyCarousel that starts the automatic rotation. |
PreviousMonth |
string |
"Previous month" |
Accessible name of the previous month button of KlyCalendar . |
PreviousPage |
string |
"Previous page" |
Accessible name of the previous page button of KlyPagination . |
PreviousSlide |
string |
"Previous slide" |
Accessible name of the previous button of KlyCarousel . |
Pricing |
string |
"Now" |
Hidden text before the discounted price of a pricing plan. |
PricingFeatures |
string |
"Features" |
Hidden name of the column of a pricing table that lists the features. |
PricingIncluded |
string |
"Included" |
Hidden text of a pricing table cell that has a check mark. |
Pricing |
string |
"Not included" |
Hidden text of a pricing table cell that has a minus sign. |
Pricing |
string |
"Original price" |
Hidden text before the original price of a pricing plan that has a discount. |
Progress |
string |
"Progress" |
Accessible name of a progress bar that has no AriaLabel . |
ReadMore |
string |
"Read more" |
The toggle that expands a clamped KlyText ( "Read more" ). |
Remote |
string |
"The options could not be loaded." |
Shown (and announced) when the OptionsProvider of a SelectMenu or InputMenu fails. |
Remote |
string |
"Loading..." |
Announced politely while a SelectMenu or InputMenu with an OptionsProvider loads its options. |
Remote |
string |
"Type at least {0} characters to search." |
Shown when the typed text is shorter than MinLength ; {0} is that length. |
Remote |
string |
"Retry" |
Text of the button that asks the OptionsProvider again after a failure. |
RemoveFile |
string |
"Remove {0}" |
Accessible name of the remove button of a file in KlyFileUpload ; {0} is the file name. |
ResizePanels |
string |
"Resize panels" |
Accessible name of the resize handle of KlySplitter and KlyDashboardResizeHandle . |
ResizeSidebar |
string |
"Resize sidebar" |
Name of the handle that resizes a sidebar. |
Saturation |
string |
"Saturation" |
Accessible name of the saturation control of KlyColorPicker . |
SearchCommands |
string |
"Search commands" |
Placeholder and accessible name of the search field of KlyCommandPalette . |
SelectMenuCreate |
string |
"Create "{0}"" |
Label of the option that adds the typed text as a new value; {0} is the text. |
Select |
string |
"No results" |
Text shown by KlySelectMenu`1 when no option matches the filter. |
SelectMenuSearch |
string |
"Search" |
Accessible name of the filter field of the popup of KlySelectMenu`1 . |
ShowDetails |
string |
"Show details" |
The toggle that opens the details of a KlyAlert ( "Show details" ). |
ShowLess |
string |
"Show less" |
The toggle that clamps an expanded KlyText again ( "Show less" ). |
ShowMore |
Func |
The button that reveals more items of a list-like block, given the number of items the next click reveals ( "Show more · 3" ). | |
SidebarLabel |
string |
"Sidebar" |
Accessible name of a sidebar, and title of its mobile panel. |
SkipToContent |
string |
"Skip to content" |
Text of the skip link ( KlySkipLink ): the first link of a page, to the main content. |
SlideControls |
string |
"Choose a slide" |
Accessible name of the group of slide dots of KlyCarousel . |
SlideOf |
string |
"{0} of {1}" |
Default accessible name of a slide of KlyCarousel ; {0} is its number and {1} the count. |
SliderMaximum |
string |
"Maximum" |
Accessible name of the thumb that sets the upper bound of KlyRangeSlider . |
SliderMinimum |
string |
"Minimum" |
Accessible name of the thumb that sets the lower bound of KlyRangeSlider . |
SortAscending |
string |
"Sort ascending" |
Tooltip of the button of a sortable column that sorts it in ascending order. |
SortDescending |
string |
"Sort descending" |
Tooltip of the button of a sorted column that reverses the order. |
StepCompleted |
string |
"completed" |
Word read by assistive technology after the title of a finished step of KlyStepper . |
TimeAm |
string |
"AM" |
Label of the morning segment when the culture has no designator for it. |
TimePm |
string |
"PM" |
Label of the afternoon segment when the culture has no designator for it. |
Today |
string |
"Today" |
The countdown text of a KlyDateTile for the current day, and the heading of today in a schedule ( "Today" ). |
ToggleColorMode |
string |
"Toggle dark mode" |
Accessible name of KlyColorModeButton and KlyColorModeSwitch . |
Tomorrow |
string |
"Tomorrow" |
The countdown text of a KlyDateTile for the next day, and the heading of tomorrow in a schedule ( "Tomorrow" ). |
TooManyFiles |
string |
"At most {0} files are allowed." |
Error of KlyFileUpload when more files than allowed are chosen; {0} is the limit. |
Unscheduled |
string |
"Unscheduled" |
The heading of the events of a schedule that have no date ( "Unscheduled" ). |