Guide
Translating the kit
Every word a component shows or reads to a screen reader — button names, status words, empty states, chart summaries, announcements — is a label its package owns, in English by default. Each package also ships the same labels in 11 more languages. Pick a language for the app and pass the packs for the packages you use.
Use a language pack
Set the locale once, so dates, numbers and plural forms follow it, then give provideSvLabels() one pack per package. @styloviz/core's pack covers the loading, error and empty states every data component shares, so include it.
// app.config.ts
import { provideSvLabels, provideSvLocale, SV_CORE_LABELS_DE } from '@styloviz/core';
import { SV_DATA_TABLE_LABELS_DE } from '@styloviz/data-table';
import { SV_CHARTS_PRO_LABELS_DE } from '@styloviz-pro/charts';
export const appConfig: ApplicationConfig = {
providers: [
provideSvLocale('de'),
provideSvLabels(SV_CORE_LABELS_DE, SV_DATA_TABLE_LABELS_DE, SV_CHARTS_PRO_LABELS_DE),
],
};Each pack is typed with its package's full labels interface, so the compiler proves it is complete, and an app only bundles the packs it imports — the other languages are dropped at build time.
Languages
The constant is the package's English labels constant with the language's suffix. All 6089 labels exist in every language.
| Language | provideSvLocale | Constant suffix |
|---|---|---|
| English | 'en' | _EN |
| German | 'de' | _DE |
| French | 'fr' | _FR |
| Spanish | 'es' | _ES |
| Brazilian Portuguese | 'pt-BR' | _PT_BR |
| Italian | 'it' | _IT |
| Dutch | 'nl' | _NL |
| Polish | 'pl' | _PL |
| Turkish | 'tr' | _TR |
| Japanese | 'ja' | _JA |
| Simplified Chinese | 'zh-CN' | _ZH_CN |
| Arabic | 'ar' | _AR |
The translated packs are machine-translated and awaiting review by native speakers. Wording you want different is one override away (below); a correction you send us lands in the pack for everyone.
Change a few words
Later packs win key by key, so your own corrections go last. They are type-checked against the packages you have installed, and a component's own text input (an ariaLabel, a placeholder) still wins for that one instance.
provideSvLabels(
SV_DATA_TABLE_LABELS_DE,
{ dataTable: { searchTable: 'Bestellungen durchsuchen' } },
) A label that carries data is a template: named slots like {name}, and plurals in ICU form — {count, plural, one {# Datei} other {# Dateien}}. Keep the slot names; move them wherever your grammar puts them. The plural forms follow the locale's rules, so Polish gets few and many and Arabic all six.
Packs by package
Import the pack from the package itself — the same entry point as its components.
| Package | German pack, for example | Labels |
|---|---|---|
| @styloviz-pro/a2ui | SV_A2UI_PRO_LABELS_DE | 14 |
| @styloviz-pro/accordion | SV_ACCORDION_PRO_LABELS_DE | 3 |
| @styloviz-pro/agent-approval | SV_AGENT_APPROVAL_PRO_LABELS_DE | 34 |
| @styloviz-pro/agent-task-queue | SV_AGENT_TASK_QUEUE_PRO_LABELS_DE | 38 |
| @styloviz-pro/ai-agent-activity-log | SV_AI_AGENT_ACTIVITY_LOG_PRO_LABELS_DE | 76 |
| @styloviz-pro/ai-chat | SV_AI_CHAT_PRO_LABELS_DE | 119 |
| @styloviz-pro/ai-chat-transport | SV_AI_CHAT_TRANSPORT_PRO_LABELS_DE | 9 |
| @styloviz-pro/ai-model-selector | SV_AI_MODEL_SELECTOR_PRO_LABELS_DE | 148 |
| @styloviz-pro/ai-privacy-inspector | SV_AI_PRIVACY_INSPECTOR_PRO_LABELS_DE | 119 |
| @styloviz-pro/ai-token-dashboard | SV_AI_TOKEN_DASHBOARD_PRO_LABELS_DE | 116 |
| @styloviz-pro/ai-workflow-builder | SV_AI_WORKFLOW_BUILDER_PRO_LABELS_DE | 166 |
| @styloviz-pro/ai-writing-assistant | SV_AI_WRITING_ASSISTANT_PRO_LABELS_DE | 88 |
| @styloviz-pro/artifact-panel | SV_ARTIFACT_PANEL_PRO_LABELS_DE | 36 |
| @styloviz-pro/avatar | SV_AVATAR_PRO_LABELS_DE | 6 |
| @styloviz-pro/charts | SV_CHARTS_PRO_LABELS_DE | 624 |
| @styloviz-pro/command-palette | SV_COMMAND_PALETTE_LABELS_DE | 30 |
| @styloviz-pro/commerce | SV_COMMERCE_PRO_LABELS_DE | 118 |
| @styloviz-pro/data-table | SV_DATA_TABLE_PRO_LABELS_DE | 166 |
| @styloviz-pro/display | SV_DISPLAY_PRO_LABELS_DE | 325 |
| @styloviz-pro/embedding-map | SV_EMBEDDING_MAP_PRO_LABELS_DE | 44 |
| @styloviz-pro/eval-scorecard | SV_EVAL_SCORECARD_PRO_LABELS_DE | 48 |
| @styloviz-pro/file-upload | SV_FILE_UPLOAD_PRO_TEXT_LABELS_DE | 44 |
| @styloviz-pro/forms | SV_FORMS_PRO_LABELS_DE | 147 |
| @styloviz-pro/gantt | SV_GANTT_PRO_LABELS_DE | 331 |
| @styloviz-pro/guardrail-panel | SV_GUARDRAIL_PANEL_PRO_LABELS_DE | 71 |
| @styloviz-pro/image-editor | SV_IMAGE_EDITOR_PRO_LABELS_DE | 52 |
| @styloviz-pro/input-field | SV_INPUT_FIELD_PRO_LABELS_DE | 29 |
| @styloviz-pro/kanban | SV_KANBAN_PRO_LABELS_DE | 106 |
| @styloviz-pro/layout | SV_LAYOUT_PRO_LABELS_DE | 59 |
| @styloviz-pro/list-view | SV_LIST_VIEW_PRO_LABELS_DE | 39 |
| @styloviz-pro/mcp-tool-registry | SV_MCP_TOOL_REGISTRY_PRO_LABELS_DE | 55 |
| @styloviz-pro/mega-menu | SV_MEGA_MENU_PRO_LABELS_DE | 8 |
| @styloviz-pro/notification-center | SV_NOTIFICATION_CENTER_PRO_LABELS_DE | 39 |
| @styloviz-pro/overlays | SV_OVERLAYS_PRO_LABELS_DE | 27 |
| @styloviz-pro/pivot-table | SV_PIVOT_TABLE_PRO_LABELS_DE | 65 |
| @styloviz-pro/product-tour | SV_PRODUCT_TOUR_PRO_LABELS_DE | 31 |
| @styloviz-pro/prompt-template-library | SV_PROMPT_TEMPLATE_LIBRARY_PRO_LABELS_DE | 77 |
| @styloviz-pro/query-builder | SV_QUERY_BUILDER_PRO_LABELS_DE | 84 |
| @styloviz-pro/rag-knowledge-base | SV_RAG_KNOWLEDGE_BASE_PRO_LABELS_DE | 138 |
| @styloviz-pro/reasoning-trace | SV_REASONING_TRACE_LABELS_DE | 15 |
| @styloviz-pro/rich-editor | SV_RICH_EDITOR_PRO_LABELS_DE | 237 |
| @styloviz-pro/scheduler | SV_SCHEDULER_PRO_LABELS_DE | 165 |
| @styloviz-pro/search-bar | SV_SEARCH_BAR_PRO_LABELS_DE | 8 |
| @styloviz-pro/select-dropdown | SV_SELECT_DROPDOWN_PRO_LABELS_DE | 23 |
| @styloviz-pro/sentiment-analysis-widget | SV_SENTIMENT_ANALYSIS_WIDGET_PRO_LABELS_DE | 81 |
| @styloviz-pro/split-button | SV_SPLIT_BUTTON_LABELS_DE | 1 |
| @styloviz-pro/stat-card | SV_STAT_CARD_PRO_LABELS_DE | 16 |
| @styloviz-pro/stepper | SV_STEPPER_PRO_LABELS_DE | 28 |
| @styloviz-pro/tag-input | SV_TAG_INPUT_PRO_LABELS_DE | 33 |
| @styloviz-pro/timeline | SV_TIMELINE_PRO_LABELS_DE | 16 |
| @styloviz-pro/tool-call-card | SV_TOOL_CALL_CARD_PRO_LABELS_DE | 42 |
| @styloviz-pro/tree-view | SV_TREE_VIEW_PRO_LABELS_DE | 36 |
| @styloviz-pro/voice-assistant | SV_VOICE_ASSISTANT_LABELS_DE | 36 |
| @styloviz/accordion | SV_ACCORDION_LABELS_DE | 3 |
| @styloviz/affix | SV_AFFIX_LABELS_DE | 3 |
| @styloviz/ai | SV_AI_LABELS_DE | 12 |
| @styloviz/ai-insight-cards | SV_AI_INSIGHT_CARDS_LABELS_DE | 71 |
| @styloviz/alert-banner | SV_ALERT_BANNER_LABELS_DE | 2 |
| @styloviz/anchor | SV_ANCHOR_LABELS_DE | 2 |
| @styloviz/avatar | SV_AVATAR_LABELS_DE | 6 |
| @styloviz/back-up | SV_BACK_UP_LABELS_DE | 4 |
| @styloviz/badge | SV_BADGE_LABELS_DE | 2 |
| @styloviz/barcode-1d | SV_BARCODE_1D_LABELS_DE | 22 |
| @styloviz/breadcrumb | SV_BREADCRUMB_LABELS_DE | 7 |
| @styloviz/button | SV_BUTTON_LABELS_DE | 1 |
| @styloviz/charts | SV_CHARTS_LABELS_DE | 172 |
| @styloviz/citation-sources | SV_CITATION_SOURCES_LABELS_DE | 28 |
| @styloviz/code-block | SV_CODE_BLOCK_LABELS_DE | 56 |
| @styloviz/commerce | SV_COMMERCE_LABELS_DE | 122 |
| @styloviz/cookie-consent | SV_COOKIE_CONSENT_LABELS_DE | 23 |
| @styloviz/core | SV_CORE_LABELS_DE | 113 |
| @styloviz/data | SV_DATA_LABELS_DE | 3 |
| @styloviz/data-table | SV_DATA_TABLE_LABELS_DE | 52 |
| @styloviz/display | SV_DISPLAY_LABELS_DE | 222 |
| @styloviz/empty-state | SV_EMPTY_STATE_LABELS_DE | 16 |
| @styloviz/file-upload | SV_FILE_UPLOAD_TRIGGER_LABELS_DE | 51 |
| @styloviz/forms | SV_FORMS_LABELS_DE | 186 |
| @styloviz/image-compare | SV_IMAGE_COMPARE_LABELS_DE | 26 |
| @styloviz/input-field | SV_INPUT_FIELD_LABELS_DE | 12 |
| @styloviz/jump-menu | SV_JUMP_MENU_LABELS_DE | 3 |
| @styloviz/kbd | SV_KBD_LABELS_DE | 30 |
| @styloviz/layout | SV_LAYOUT_LABELS_DE | 41 |
| @styloviz/list-view | SV_LIST_VIEW_LABELS_DE | 40 |
| @styloviz/modal | SV_MODAL_LABELS_DE | 11 |
| @styloviz/notification-center | SV_NOTIFICATION_CENTER_LABELS_DE | 34 |
| @styloviz/overlays | SV_OVERLAYS_LABELS_DE | 38 |
| @styloviz/pagination | SV_PAGINATION_LABELS_DE | 17 |
| @styloviz/password-strength | SV_PASSWORD_STRENGTH_LABELS_DE | 17 |
| @styloviz/phone-input | SV_PHONE_INPUT_LABELS_DE | 7 |
| @styloviz/product-tour | SV_PRODUCT_TOUR_LABELS_DE | 15 |
| @styloviz/scroll-area | SV_SCROLL_AREA_LABELS_DE | 3 |
| @styloviz/search-bar | SV_SEARCH_BAR_LABELS_DE | 8 |
| @styloviz/select-dropdown | SV_SELECT_DROPDOWN_LABELS_DE | 18 |
| @styloviz/sidebar-nav | SV_SIDEBAR_NAV_LABELS_DE | 8 |
| @styloviz/skeleton-loader | SV_SKELETON_LOADER_LABELS_DE | 3 |
| @styloviz/sparkline | SV_SPARKLINE_LABELS_DE | 21 |
| @styloviz/stat-card | SV_STAT_CARD_LABELS_DE | 13 |
| @styloviz/stepper | SV_STEPPER_LABELS_DE | 23 |
| @styloviz/streaming-markdown | SV_STREAMING_MARKDOWN_LABELS_DE | 3 |
| @styloviz/tabs | SV_TABS_LABELS_DE | 3 |
| @styloviz/tag-input | SV_TAG_INPUT_LABELS_DE | 15 |
| @styloviz/timeline | SV_TIMELINE_LABELS_DE | 16 |
| @styloviz/toast | SV_TOAST_LABELS_DE | 4 |
| @styloviz/tree-view | SV_TREE_VIEW_LABELS_DE | 5 |
| @styloviz/watermark | SV_WATERMARK_LABELS_DE | 10 |