Vizel API / core/src / VizelLocale
Interface: VizelLocale
Defined in: packages/core/src/i18n/types.ts:8
Locale definition for all Vizel UI strings.
Provide a custom locale object to translate the editor interface. All properties are required — use createVizelLocale() to merge partial translations with the default English locale.
Properties
blockMenu
blockMenu: object;Defined in: packages/core/src/i18n/types.ts:49
Block context menu
copy
copy: string;cut
cut: string;delete
delete: string;duplicate
duplicate: string;label
label: string;Menu aria-label
turnInto
turnInto: string;bubbleMenu
bubbleMenu: object;Defined in: packages/core/src/i18n/types.ts:198
Bubble menu labels
ariaLabel
ariaLabel: string;Aria label for the bubble menu container
bold
bold: string;Tooltip for bold button
code
code: string;Tooltip for code button
italic
italic: string;Tooltip for italic button
link
link: string;Tooltip for link button
strikethrough
strikethrough: string;Tooltip for strikethrough button
subscript
subscript: string;Tooltip for subscript button
superscript
superscript: string;Tooltip for superscript button
underline
underline: string;Tooltip for underline button
codeBlock
codeBlock: object;Defined in: packages/core/src/i18n/types.ts:144
Code block UI
copied
copied: string;copyCode
copyCode: string;hideLineNumbers
hideLineNumbers: string;languagePlaceholder
languagePlaceholder: string;showLineNumbers
showLineNumbers: string;colorPicker
colorPicker: object;Defined in: packages/core/src/i18n/types.ts:220
Color picker labels used in bubble menu and standalone color picker
apply
apply: string;Apply button title
applyAriaLabel
applyAriaLabel: string;Apply button aria label
hexPlaceholder
hexPlaceholder: string;Hex input placeholder
highlight
highlight: string;Title for highlight button
highlightPalette
highlightPalette: string;Aria label for highlight palette
recent
recent: string;"Recent" colors section label
textColor
textColor: string;Title for text color button
textColorPalette
textColorPalette: string;Aria label for text color palette
commands
commands: object;Defined in: packages/core/src/i18n/types.ts:268
Strings for the block operation VizelCommand registry.
Each entry carries a title (used by the block menu and slash menu) and a description (used by the slash menu's secondary line).
block
block: object;block.demote
demote: SlashItemText;block.duplicate
duplicate: SlashItemText;block.mergePrevious
mergePrevious: SlashItemText;block.moveDown
moveDown: SlashItemText;block.moveUp
moveUp: SlashItemText;block.promote
promote: SlashItemText;block.split
split: SlashItemText;dragHandle
dragHandle: object;Defined in: packages/core/src/i18n/types.ts:153
Drag handle
ariaLabel
ariaLabel: string;findReplace
findReplace: object;Defined in: packages/core/src/i18n/types.ts:122
Find and replace panel
caseSensitive
caseSensitive: string;closeAriaLabel
closeAriaLabel: string;closeTitle
closeTitle: string;findNextAriaLabel
findNextAriaLabel: string;findNextTitle
findNextTitle: string;findPlaceholder
findPlaceholder: string;findPreviousAriaLabel
findPreviousAriaLabel: string;findPreviousTitle
findPreviousTitle: string;findTextAriaLabel
findTextAriaLabel: string;label
label: string;Panel aria-label
noResults
noResults: string;replaceAllAriaLabel
replaceAllAriaLabel: string;replaceAllTitle
replaceAllTitle: string;replaceAriaLabel
replaceAriaLabel: string;replacePlaceholder
replacePlaceholder: string;replaceTextAriaLabel
replaceTextAriaLabel: string;replaceTitle
replaceTitle: string;linkEditor
linkEditor: object;Defined in: packages/core/src/i18n/types.ts:240
Link editor popup labels
apply
apply: string;Apply link button title
applyAriaLabel
applyAriaLabel: string;Apply link button aria label
embedAsRichContent
embedAsRichContent: string;Embed toggle label
openInNewTab
openInNewTab: string;Open in new tab label
removeLink
removeLink: string;Remove link button title
removeLinkAriaLabel
removeLinkAriaLabel: string;Remove link button aria label
urlPlaceholder
urlPlaceholder: string;URL input placeholder
visit
visit: string;Visit link label
visitTitle
visitTitle: string;Visit link tooltip
mentionMenu
mentionMenu: object;Defined in: packages/core/src/i18n/types.ts:114
Mention autocomplete menu
ariaLabel
ariaLabel: string;Menu container aria-label
noResults
noResults: string;Message shown when no mention candidates match the query
nodeSelector
nodeSelector: object;Defined in: packages/core/src/i18n/types.ts:166
Node selector (block type dropdown)
blockTypes
blockTypes: string;Dropdown aria-label
changeBlockType
changeBlockType: string;Trigger button title
currentBlockType
currentBlockType: string;Template for trigger aria-label. Use {type} for the current type name.
nodeTypes
nodeTypes: object;Defined in: packages/core/src/i18n/types.ts:33
Node type selector labels
bulletList
bulletList: string;code
code: string;heading1
heading1: string;heading2
heading2: string;heading3
heading3: string;heading4
heading4: string;heading5
heading5: string;heading6
heading6: string;numberedList
numberedList: string;quote
quote: string;taskList
taskList: string;text
text: string;outline
outline: object;Defined in: packages/core/src/i18n/types.ts:176
Outline (document heading navigation)
ariaLabel
ariaLabel: string;Aria label for the outline tree container
relativeTime
relativeTime: object;Defined in: packages/core/src/i18n/types.ts:185
Relative time strings. Use {n} as placeholder for the numeric value.
daysAgo
daysAgo: string;e.g. "{n}d ago"
hoursAgo
hoursAgo: string;e.g. "{n}h ago"
justNow
justNow: string;minutesAgo
minutesAgo: string;e.g. "{n}m ago"
secondsAgo
secondsAgo: string;e.g. "{n}s ago"
saveIndicator
saveIndicator: object;Defined in: packages/core/src/i18n/types.ts:158
Save indicator
error
error: string;saved
saved: string;saving
saving: string;unsaved
unsaved: string;slashMenu
slashMenu: object;Defined in: packages/core/src/i18n/types.ts:60
Slash command menu
enterEmbedUrl
enterEmbedUrl: string;Prompt for embed URL input
enterImageUrl
enterImageUrl: string;Prompt for image URL input
enterUrl
enterUrl: string;Prompt for generic URL input
groups
groups: object;Group labels.
The six built-in groups are required so the bundled commands always have a label. Additional string keys are accepted to label user-defined groups.
Index Signature
[customGroupName: string]: stringgroups.advanced
advanced: string;groups.blocks
blocks: string;groups.lists
lists: string;groups.media
media: string;groups.navigation
navigation: string;groups.text
text: string;items
items: object;Item titles and descriptions
items.bulletList
bulletList: SlashItemText;items.callout
callout: SlashItemText;items.codeBlock
codeBlock: SlashItemText;items.details
details: SlashItemText;items.divider
divider: SlashItemText;items.embed
embed: SlashItemText;items.graphvizDiagram
graphvizDiagram: SlashItemText;items.heading1
heading1: SlashItemText;items.heading2
heading2: SlashItemText;items.heading3
heading3: SlashItemText;items.heading4
heading4: SlashItemText;items.heading5
heading5: SlashItemText;items.heading6
heading6: SlashItemText;items.image
image: SlashItemText;items.inlineMath
inlineMath: SlashItemText;items.mathEquation
mathEquation: SlashItemText;items.mermaidDiagram
mermaidDiagram: SlashItemText;items.numberedList
numberedList: SlashItemText;items.quote
quote: SlashItemText;items.table
table: SlashItemText;items.tableOfContents
tableOfContents: SlashItemText;items.taskList
taskList: SlashItemText;items.uploadImage
uploadImage: SlashItemText;noResults
noResults: string;No results message
toolbar
toolbar: object;Defined in: packages/core/src/i18n/types.ts:10
Toolbar button labels
ariaLabel
ariaLabel: string;Aria label for the toolbar container
bold
bold: string;bulletList
bulletList: string;code
code: string;codeBlock
codeBlock: string;heading1
heading1: string;heading2
heading2: string;heading3
heading3: string;horizontalRule
horizontalRule: string;italic
italic: string;moreActions
moreActions: string;numberedList
numberedList: string;quote
quote: string;redo
redo: string;strikethrough
strikethrough: string;taskList
taskList: string;underline
underline: string;undo
undo: string;