RebodocsDocs
Start3
What is Rebodocs
Getting started
Demos to run
Put it in your app8
React component
Headless: your own UI
A complete interface
Without a framework
Only to read: the viewer
Styling and Tailwind
Phones and touch
Accessibility
Documents8
Templates and variables
On a server: DOCX and PDF
Documents in an S3 bucket
Letterheads
Versions
Tracked changes
Fonts
Languages
Together2
Real-time collaboration
AI assistants (MCP)
Reference5
Packages
Components and hooks
Editor API
How it works
Status and roadmap
↑↓ to move↵ to openEsc to close26 pages

Documents Languages

Languages

The interface comes in Spanish and English, and in Simplified and Traditional Chinese for the applications that add them. Every text a person reads is looked up by a key, 653 of them, so another language is a file of translations, added without touching the editor.

<DocsEditor locale="en" />   // left out: the browser's language, or English

locale takes a code or a browser tag ('en-US', 'es_MX', 'zh-TW'). A language the interface does not speak gives English.

tip: switch the editor below to French
Live

Switch it

The editor in the two languages it comes with, in the Simplified Chinese of its module, and in a French started the way a translation starts: what shows in the status bar, the styles and the File menu, and nothing else yet.

Opening the editor…

In French, open the menu (☰): Fichier, Ouvrir un document…, Exporter, and then Print… and Page setup…, in English, because the file does not say them. A partial translation works; what it leaves out reads in English. Changing the language builds the bars again; the document and its history stay as they were.

中文

Chinese

Simplified and Traditional Chinese are translated in full, as Word says each: Simplified as in mainland China, Traditional as in Taiwan. They come apart from the editor, so an application that does not want them does not carry their 653 texts.

import zhHans from '@rebodocs/editor/locales/zh-Hans';   // Simplified
import zhHant from '@rebodocs/editor/locales/zh-Hant';   // Traditional

// A browser in Chinese shows the one it asks for; locale="zh-Hans" for everyone
<DocsEditor locales={{ 'zh-Hans': zhHans, 'zh-Hant': zhHant }} />

// …or for an interface of your own
addLocale('zh-Hans', zhHans);
addLocale('zh-Hant', zhHant);
  • zh, zh-CN and zh-SG find the Simplified one; zh-TW, zh-HK, zh-MO and zh-Hant the Traditional one. A tag of the one not added gives English, as any language not added does.
  • A browser in Chinese gets Chinese by itself once it is added: until the application sets a language, addLocale takes one the browser asks for before the one shown. With locale, or after setLocale, the language is the application’s.
  • In Chinese, the toolbar’s font box offers the fonts for Chinese Word has: DengXian, SimSun, SimHei, Microsoft YaHei, KaiTi and FangSong, or PMingLiU, MingLiU, Microsoft JhengHei and DFKai-SB in Traditional. One of them chosen is written as the font of the Chinese text of the run, as Word writes it.
  • Chinese text itself needs no setting: it breaks between any two characters and keeps “。” and “,” off the start of a line, as Word does, in any language of the interface.
Your language

Adding a language

A file of translations, started by a command of the repository, and given to the editor.

  1. 1

    Start the file

    It is written with every text in English, to translate. What the language calls itself goes in already: “Français” for fr.

    npm run locale -- fr texts/fr.json              # every text in English, to translate
    npm run locale -- fr texts/fr.json --from es    # or starting from the Spanish
  2. 2

    Translate it

    It is plain JSON, a key and a text. Leave what is in braces as it is: 70 texts have a {name} the editor fills in.

    {
      "locale.name": "Français",
      "menu.save": "Enregistrer",
      "status.page": "Page {page} sur {pages}"
    }
  3. 3

    Give it to the editor

    import fr from './texts/fr.json';
    
    <DocsEditor locales={{ fr }} locale="fr" features={{ language: true }} />
    import { addLocale, setLocale } from '@rebodocs/react';   // an interface of your own
    
    addLocale('fr', fr);
    setLocale('fr');

    With features.language, the language is in the menu by itself, under its own name: locale.name, or what the browser calls the language if the file leaves it out.

Languages with more plural forms

Spanish and English say a number of things one way for one and another for the rest. Russian has four plural categories, Arabic six; Chinese, one. 11 texts are said of a number, and for each a language gives a form per plural category of its own, as <key>.<category>; the editor picks it with Intl.PluralRules. What a form leaves out is the key's text.

{
  "status.words": "слов",
  "status.words.one": "слово",
  "status.words.few": "слова",
  "status.words.many": "слов"
}

In Russian, “one” is 1, 21, 31…; “few” is 2 to 4, 22 to 24…; “many” is 5 to 20, 25 to 30…: 21 words is 21 слово, said like one.

npm run locale puts the forms the language needs in its file, to translate with the rest: one, few and many for Russian, none for German or Chinese. The texts said of a number are status.words, menu.pages, status.chars, var.fillFields, var.blockList, compare.count, grid.many, table.columns, table.rows, var.uses and a11y.long.

New versions

Keeping it up to date

When the interface gains texts, run the same command on the same file.

npm run locale -- fr texts/fr.json
# texts/fr.json: 675 texts, 6 new.
# To translate (same as English): 6.

Keeps

every text already in the file, translated or not.

Adds

the texts the interface gained since, in English (or in the language of --from).

Takes out

the keys the interface no longer has.

Says

how many texts there are, how many are new, and how many still read as in English; up to 20, by key.

A text that reads as in English counts as one to translate, unless it is too short to tell (an “OK”, a “%”). A text left out of a language is shown in English.

Your words

Changing words of a language there is

The same way, with the texts to change: the rest of the language stays as it is. Try it in the demo above.

<DocsEditor locale="en" locales={{ en: { 'menu.save': 'Save to cloud' } }} />

// …or from anywhere, before or after it is drawn
addLocale('en', { 'menu.save': 'Save to cloud' });

Given later, to the locales prop or to addLocale, they take effect at once: when they are of the language shown, the bars are built again with them.

Scope

What is translated

The interface

All of it

The toolbar, the menus, the panels, the dialogs, the status bar, the titles of the buttons and what a screen reader is told. Each part carries its language (lang), for a screen reader to read it with the right voice.

The document

Nothing

It is the person’s text. Opening a Spanish contract in an English interface leaves it in Spanish. The DOCX says the language its text is in, for spelling in Word: the language prop, or the interface’s, with the browser’s region.

What the editor writes

At the time

“Page 1 of 3” in a page number and the titles of a signature block are written in the language of the interface when they are inserted. After that they are text of the document, and stay.

Standard styles

Shown translated

Normal, Title and Heading 1–3 are shown as Título 1 or Heading 1; a style of the document’s own keeps its name. The file keeps the style as Word knows it.

Dates and numbers

In the language

The dates of versions and notes, the counts in the status bar and the find bar, the centimetres of the ruler and the line spacing: 1,15 in Spanish, 1.15 in English.

The letters on the buttons

Texts too

Bold, italic, underline and strikethrough are drawn as letters: B I U S in English, N K S T in Spanish. They are mark.bold.letter and the like, to translate as the rest.

useDocsStyles gives the standard styles translated too, and again when the language changes.

Headless

Your own interface

An interface built on the headless hooks has labels of its own, which the library knows nothing of. To have them follow the same language, keep them in a table and read the language where they are drawn.

import { useSyncExternalStore } from 'react';
import { getLocale, onLocaleChange } from '@rebodocs/react';

const EN = { Guardar: 'Save', Imprimir: 'Print' } as const;

/** A component that calls this is drawn again when the language changes. */
export function useTexts() {
  const locale = useSyncExternalStore(onLocaleChange, getLocale);
  return (text: keyof typeof EN) => (locale === 'es' ? text : EN[text]);
}

function Save() {
  const tr = useTexts();
  return <button>{tr('Guardar')}</button>;
}

Where the library has the word, t('menu.save') gives it, with the same hook around it to be drawn again. A selector of your own is setLocale('en'). The React demo does this for every label it has, in apps/demo/src/headless/texts.ts.

Reference

From code

Every function of the languages, from @rebodocs/react (or @rebodocs/editor), with the types MessageKey and Messages.

import { t, messages, locales } from '@rebodocs/react';

t('status.page', { page: 2, pages: 9 });   // "Page 2 of 9"
messages('en')['menu.save'];               // "Save"
locales();                                 // [{ code: 'es', name: 'Español' }, …]
t(key: MessageKey, values?: Record<string, string | number>) → string
The text in the language of the interface, each {name} replaced by its value. A name with no value stays as it is written.
getLocale() → string
The language of the interface: until one is set, the first of the browser’s languages it speaks, or English.
setLocale(locale: string) → nothing
Sets the language: a code, one added, or a browser tag. One it does not speak gives English. Tells whoever listens, and nobody when it was already that one.
onLocaleChange(listener: () => void) → () => void
Calls listener whenever the language changes. Returns how to stop.
addLocale(locale: string, texts: Texts) → nothing
Adds a language, or changes texts of one there is. What it leaves out is said in English. When it is the language being shown, tells whoever listens. Until the application sets a language, it switches to this one if it is the language the browser asks for.
plural(key: MessageKey, n: number, values?: Record<string, string | number>) → string
The text said of n things: the form the language gives for the plural category of n, or else the text of one when that category is “one”, or else the text of the key.
messages(locale?: string) → Messages
Every text of a language, by key: English when none is given. A copy; changing it changes nothing.
locales() → { code: string; name: string }[]
The languages there are, each with its name in itself: what the menu lists.
Every text

The texts there are

Each key with what it says in Spanish, English and Simplified Chinese, read from the editor when this page was built. A {name} is filled in by the editor.

653 texts
KeyEspañolEnglish简体中文
locale.nameEspañolEnglish简体中文
languageIdiomaLanguage语言
area.headerEncabezadoHeader页眉
area.firstHeaderEncabezado de la primera páginaFirst page header首页页眉
area.firstFooterPie de la primera páginaFirst page footer首页页脚
area.footerPie de páginaFooter页脚
area.sectionSección {n}Section {n}第 {n} 节
area.footnoteNota al pieFootnote脚注
area.endnoteNota al finalEndnote尾注
area.textboxCuadro de textoText box文本框
page.wordPáginaPage页
page.ofdeof/
style.normalNormalNormal正文
style.titleTítuloTitle标题
style.subtitleSubtítuloSubtitle副标题
style.heading1Título 1Heading 1标题 1
style.heading2Título 2Heading 2标题 2
style.heading3Título 3Heading 3标题 3
sign.adviserASESORADVISER顾问
sign.clientCLIENTECLIENT客户
sign.nameNOMBRE COMPLETOFULL NAME姓名
mark.boldNegritaBold加粗
mark.italicCursivaItalic倾斜
mark.underlineSubrayadoUnderline下划线
mark.strikeTachadoStrikethrough删除线
a11y.documentDocumentoDocument文档
a11y.endOfParagraphfin de párrafoend of paragraph段落结束
a11y.blanken blancoblank空白
a11y.spaceespaciospace空格
a11y.tabtabuladortab制表符
a11y.lineBreaksalto de línealine break换行符
a11y.pageBreaksalto de páginapage break分页符
a11y.objectobjetoobject对象
a11y.footnoteRefNota al pie {n}Footnote {n}脚注 {n}
a11y.endnoteRefNota al final {n}Endnote {n}尾注 {n}
a11y.pictureImagen: {alt}Picture: {alt}图片:{alt}
a11y.pictureNoAltImagen sin descripciónPicture without a description没有说明的图片
a11y.textBoxCuadro de textoText box文本框
status.languageIdioma del texto: para la ortografía, la voz de un lector de pantalla y cómo se escriben fechas y númerosLanguage of the text: for spelling, the voice of a screen reader, and how dates and numbers are written文本语言:用于拼写检查、屏幕阅读器的语音,以及日期和数字的写法
alt.wordDescripciónDescription说明
alt.titleQué muestra la imagen, para quien no la ve: lo que dice un lector de pantallaWhat the picture shows, for whoever cannot see it: what a screen reader says图片显示的内容,供看不到图片的人使用:屏幕阅读器会朗读它
alt.placeholderQué muestra la imagenWhat the picture shows图片显示的内容
a11y.long{start}… ({count} caracteres){start}… ({count} characters){start}…({count} 个字符)
a11y.selected{text}, seleccionado{text}, selected{text},已选中
a11y.unselected{text}, sin seleccionar{text}, unselected{text},未选中
a11y.allSelectedTodo seleccionadoAll selected已全选
a11y.deleted{text}, borrado{text}, deleted{text},已删除
a11y.pagePágina {page}Page {page}第 {page} 页
a11y.cellTabla, fila {row}, columna {column}Table, row {row}, column {column}表格,第 {row} 行,第 {column} 列
a11y.leftTableFuera de la tablaOut of the table已离开表格
a11y.bulletListLista con viñetasBulleted list项目符号列表
a11y.numberListLista numeradaNumbered list编号列表
a11y.levelnivel {level}level {level}第 {level} 级
a11y.linkEnlace a {href}Link to {href}链接到 {href}
a11y.insertedInsertado por {author}Inserted by {author}由 {author} 插入
a11y.removedEliminado por {author}Deleted by {author}由 {author} 删除
a11y.formattedFormato cambiado por {author}Formatting changed by {author}由 {author} 更改格式
a11y.notedCon notaWith a note有批注
a11y.onSe activó {name}{name}, on{name},开
a11y.offSe desactivó {name}{name}, off{name},关
a11y.undoneDeshechoUndone已撤销
a11y.redoneRehechoRedone已恢复
a11y.nothingToUndoNada que deshacerNothing to undo没有可撤销的操作
a11y.nothingToRedoNada que rehacerNothing to redo没有可恢复的操作
a11y.pastedPegadoPasted已粘贴
a11y.bodyCuerpo del documentoBody of the document文档正文
a11y.hintAlt+F10: barra de herramientas. F6: siguiente sección. Escape en una barra: volver al documento. {reader}: modo lector de pantalla.Alt+F10: toolbar. F6: next section. Escape in a bar: back to the document. {reader}: screen reader mode.Alt+F10:工具栏。F6:下一个区域。在工具栏中按 Esc:返回文档。{reader}:屏幕阅读器模式。
a11y.statusBarBarra de estadoStatus bar状态栏
a11y.panelPanel lateralSide panel侧边栏
a11y.readerOnModo lector de pantalla activadoScreen reader mode on屏幕阅读器模式已开启
a11y.readerOffModo lector de pantalla desactivadoScreen reader mode off屏幕阅读器模式已关闭
a11y.rulerReglaRuler标尺
a11y.cm{value} cm{value} cm{value} 厘米
a11y.tabKindTipo de tabulación: {kind}. Enter: cambiarlo. Insert: poner una en el cursorTab stop kind: {kind}. Enter: change it. Insert: set one at the caret制表位类型:{kind}。Enter:更改类型。Insert:在光标处设置一个
a11y.tabStop{kind}. Flechas para moverla, Suprimir para quitarla{kind}. Arrows to move it, Delete to remove it{kind}。方向键移动,Delete 删除
a11y.tabAt{kind}, {value}{kind}, {value}{kind},{value}
a11y.findBuscar y reemplazarFind and replace查找和替换
a11y.bubbleHintTab: ir a la barraTab: go to the barTab:转到工具栏
slash.labelComandosCommands命令
slash.hintEscribe para filtrar; flechas para elegir, Intro para insertar, Escape para dejarloType to filter; arrows to choose, Enter to insert, Escape to leave it输入以筛选;方向键选择,Enter 插入,Esc 退出
slash.noneSin resultadosNo results没有结果
slash.textTextoText文本
slash.insertInsertarInsert插入
slash.templatePlantillaTemplate模板
slash.moreMásMore更多
form.outsideSolo se pueden cambiar las zonas marcadasOnly the marked areas can be changed只能更改标记的区域
form.zoneZona editableEditable area可编辑区域
form.makeEditableEditable可编辑
form.makeTitleSolo esto se podrá cambiar cuando se restrinja la ediciónOnly this can be changed once editing is restricted限制编辑后,只有这里可以更改
form.makeMenuMarcar la selección como editableMark the selection as editable将所选内容标记为可编辑
form.removeQuitar zona editableRemove editable area删除可编辑区域
form.removeShortQuitarRemove删除
form.restrictRestringir edición a las zonas editablesRestrict editing to the editable areas仅允许编辑可编辑区域
form.fieldTitleUn hueco para llenar cuando se restrinja la ediciónA blank to fill in once editing is restricted限制编辑后需要填写的空白处
suggest.labelVariablesVariables变量
suggest.inDocumentYa está en el documentoAlready in the document文档中已有
suggest.examplePor ejemplo: {value}For example: {value}例如:{value}
suggest.newVariable nuevaNew variable新变量
suggest.typeEscribe el nombre de la variableType the name of the variable输入变量名称
slash.normalTitleTexto de párrafo, sin títuloParagraph text, not a heading段落正文,不是标题
slash.headingTitleTítulo de nivel {n}Heading of level {n}{n} 级标题
slash.bulletsTitleCada párrafo con una viñetaEach paragraph with a bullet每个段落带项目符号
slash.numbersTitleCada párrafo con su número: 1, 2, 3Each paragraph with its number: 1, 2, 3每个段落带编号:1、2、3
slash.textBoxTitleUn cuadro con texto en la páginaA box with text on the page页面上的一个文本框
slash.footnoteTitleUna nota numerada al pie de la páginaA numbered note at the foot of the page页面底部的编号注释
slash.noteTitleUna nota de revisión sobre la palabra anteriorA review note on the word before对前一个词的审阅批注
grid.earlierMover {name} antesMove {name} earlier将 {name} 前移
grid.laterMover {name} despuésMove {name} later将 {name} 后移
grid.place{name}, posición {n} de {total}{name}, position {n} of {total}{name},第 {n} 个,共 {total} 个
color.nonesin colorno color无颜色
color.blacknegroblack黑色
color.whiteblancowhite白色
color.graygrisgray灰色
color.redrojored红色
color.orangenaranjaorange橙色
color.browncafébrown棕色
color.yellowamarilloyellow黄色
color.oliveverde olivoolive橄榄色
color.golddoradogold金色
color.limeverde limónlime酸橙色
color.skycelestesky blue天蓝色
color.greenverdegreen绿色
color.cyanciancyan青色
color.blueazulblue蓝色
color.purplemoradopurple紫色
color.magentamagentamagenta洋红色
color.pinkrosapink粉色
color.dark{name} oscurodark {name}深{name}
color.light{name} clarolight {name}浅{name}
color.current{name}: {color}{name}: {color}{name}:{color}
mark.bold.letterNBB
mark.italic.letterKII
mark.underline.letterSUU
mark.strike.letterTSS
toolbar.labelFormatoFormatting格式
pageNumber.formatFormatoFormat格式
endnotes.titleNotas al finalEndnotes尾注
endnotes.inSectionsAl final de cada secciónAt the end of each section在每节末尾
endnotes.restartEmpezar de nuevo en esta secciónStart again in this section在本节重新编号
endnotes.formatNumeradas {example}Numbered {example}编号 {example}
toolbar.findBuscar y reemplazarFind and replace查找和替换
toolbar.moreMás herramientasMore tools更多工具
toolbar.undoDeshacerUndo撤销
toolbar.redoRehacerRedo恢复
table.cells{columns} por {rows}{columns} by {rows}{columns} × {rows}
table.column1 columna1 column1 列
table.columns{n} columnas{n} columns{n} 列
table.row1 fila1 row1 行
table.rows{n} filas{n} rows{n} 行
menu.titleMenú del documentoDocument menu文档菜单
toolbar.panelPanel: esquema, variables, notas y cambiosPanel: outline, variables, notes and changes侧边栏:大纲、变量、批注和修订
toolbar.openAbrir un documentoOpen a document打开文档
toolbar.downloadDescargar como .docxDownload as .docx下载为 .docx
toolbar.styleEstilo de párrafoParagraph style段落样式
toolbar.fontFuenteFont字体
toolbar.fontSizeTamaño de fuenteFont size字号
toolbar.colorColor del textoText color字体颜色
toolbar.highlightColor de resaltadoHighlight color突出显示颜色
toolbar.noHighlightSin resaltadoNo highlight无突出显示
align.leftAlinear a la izquierdaAlign left左对齐
align.centerCentrarCenter居中
align.rightAlinear a la derechaAlign right右对齐
align.justifyJustificarJustify两端对齐
spacing.titleInterlineado, espaciado y paginaciónLine spacing, paragraph spacing and pagination行距、段落间距和分页
spacing.lineInterlineadoLine spacing行距
spacing.beforeEspacio antes del párrafoSpace before paragraph段前间距
spacing.afterEspacio después del párrafoSpace after paragraph段后间距
spacing.paginationPaginaciónPagination分页
spacing.widowsControl de viudas y huérfanasWidow and orphan control孤行控制
spacing.keepNextConservar con el siguienteKeep with next与下段同页
spacing.keepLinesConservar líneas juntasKeep lines together段中不分页
spacing.breakBeforeSalto de página antesPage break before段前分页
indent.lessReducir sangríaDecrease indent减少缩进量
indent.moreAumentar sangríaIncrease indent增加缩进量
indent.dialogSangrías…Indents…缩进…
indent.titleSangrías del párrafoParagraph indents段落缩进
indent.leftIzquierdaLeft左侧
indent.rightDerechaRight右侧
indent.specialEspecialSpecial特殊
indent.noneNingunaNone无
indent.firstLinePrimera líneaFirst line首行缩进
indent.hangingFrancesaHanging悬挂缩进
indent.byEnBy缩进值
table.insertInsertar tablaInsert table插入表格
table.signaturesInsertar firmasInsert signatures插入签名
table.mergeCombinar celdasMerge cells合并单元格
table.splitDividir celdaSplit cell拆分单元格
table.rowAboveInsertar fila encimaInsert row above在上方插入行
table.rowBelowInsertar fila debajoInsert row below在下方插入行
table.columnLeftInsertar columna a la izquierdaInsert column to the left在左侧插入列
table.columnRightInsertar columna a la derechaInsert column to the right在右侧插入列
table.deleteRowEliminar filaDelete row删除行
table.deleteColumnEliminar columnaDelete column删除列
table.deleteTableEliminar tablaDelete table删除表格
table.rowHeightAlto de filaRow height行高
table.rowAutoAutoAuto自动
table.rowExactExactoExact固定值
table.hideBordersOcultar los bordes de la tablaHide the table borders隐藏表格边框
table.showBordersMostrar los bordes de la tablaShow the table borders显示表格边框
table.cellBordersBordes de la celdaCell borders单元格边框
table.shadingSombreadoShading底纹
table.noShadingSin sombreadoNo shading无底纹
table.headerRowRepetir como fila de encabezadoRepeat as header row重复标题行
table.alignTexto en la celdaText in the cell单元格中的文字
table.alignTopArribaTop顶端
table.alignCenterAl centroMiddle居中
table.alignBottomAbajoBottom底端
table.directionDirección del textoText direction文字方向
table.directionLevelHorizontalHorizontal水平
table.directionUpDe abajo arribaBottom to top从下到上
table.directionDownDe arriba abajoTop to bottom从上到下
table.lineStyleLínea de los bordesBorder line边框线
table.lineSingleContinuaSolid实线
table.lineDoubleDobleDouble双线
table.lineDashedDiscontinuaDashed虚线
table.lineDottedPunteadaDotted点线
columns.titleColumnasColumns分栏
columns.oneUnaOne一栏
columns.twoDosTwo两栏
columns.threeTresThree三栏
columns.leftUna estrecha a la izquierdaA narrow one on the left左侧一窄栏
columns.rightUna estrecha a la derechaA narrow one on the right右侧一窄栏
columns.separatorLínea entre columnasLine between columns分隔线
columns.breakSalto de columnaColumn break分栏符
columns.forSectionPara la sección donde está el cursorFor the section the cursor is in应用于光标所在的节
columns.forSelectionPara lo seleccionado, en una sección propiaFor the selection, as a section of its own应用于所选内容,作为单独的一节
toolbar.imageInsertar imagen (varias a la vez van en cuadrícula)Insert image (several at once go in a grid)插入图片(一次插入多张时排成网格)
toolbar.pageEncabezado, pie de página y saltosHeader, footer and breaks页眉、页脚和分隔符
toolbar.editHeaderEditar el encabezadoEdit the header编辑页眉
toolbar.editFooterEditar el pie de páginaEdit the footer编辑页脚
toolbar.pageBreakInsertar salto de páginaInsert page break插入分页符
pageNumber.titleNúmero de páginaPage number页码
pageNumber.noneNingunoNone无
pageNumber.noneTitleSin número de páginaNo page number不显示页码
pageNumber.inHeaderEn el encabezadoIn the header在页眉中
pageNumber.footerPieFooter页脚
pageNumber.inFooterEn el pie de páginaIn the footer在页脚中
pageNumber.positionPosiciónPosition位置
pageNumber.leftA la izquierdaLeft左侧
pageNumber.centerAl centroCenter居中
pageNumber.rightA la derechaRight右侧
list.bulletLista con viñetasBulleted list项目符号列表
list.numberLista numeradaNumbered list编号列表
focus.modeModo concentraciónFocus mode专注模式
focus.enterModo concentración ({keys})Focus mode ({keys})专注模式({keys})
focus.exitSalirLeave退出
list.bulletStylesFormatos de viñetaBullet styles项目符号样式
list.numberStylesFormatos de numeraciónNumbering styles编号样式
list.bulletsOfLevelViñetas del nivelBullets of this level本级项目符号
list.numbersOfLevelNúmeros del nivelNumbers of this level本级编号
list.styleOfFormato {sample}Style {sample}样式 {sample}
list.downBajar un nivel (sublista)Down a level (sublist)降一级(子列表)
list.upSubir un nivelUp a level升一级
list.restartReiniciar en 1 desde aquíRestart at 1 here从 1 重新开始编号
list.continueContinuar la numeración anteriorContinue the previous numbering继续前一列表的编号
list.hintTab y ⇧Tab cambian el nivel desde cualquier parte del renglón. Enter en un renglón vacío sube un nivel; en el primero, termina la lista.Tab and ⇧Tab change the level from anywhere in the line. Enter on an empty line goes up a level; on the first, it ends the list.Tab 和 ⇧Tab 可在行中任意位置更改级别。在空行按 Enter 升一级;在第一级则结束列表。
table.wordTablaTable表格
status.pagePágina {page} de {pages}Page {page} of {pages}第 {page} 页,共 {pages} 页
status.wordpalabraword字
status.wordspalabraswords字
status.charcaráctercharacter个字符
status.charscaracterescharacters个字符
status.of{n} de {total}{n} of {total}{n}/{total}
view.flowTexto al ancho de la ventana, sin páginasText as wide as the window, without pages文字与窗口同宽,不分页
view.columnUna páginaOne page单页
view.spreadDos páginasTwo pages双页
view.gridCuadrícula de páginasGrid of pages多页网格
view.fitWidthAjustar al ancho de la ventanaFit to the window width适应窗口宽度
view.fitPageVer la página completaShow the whole page显示整页
zoom.resetVolver al 100 %Back to 100%恢复到 100%
zoom.outAlejarZoom out缩小
zoom.inAcercarZoom in放大
ruler.marginLeftMargen izquierdoLeft margin左边距
ruler.marginRightMargen derechoRight margin右边距
ruler.firstSangría de primera líneaFirst line indent首行缩进
ruler.hangingSangría francesaHanging indent悬挂缩进
ruler.leftSangría izquierdaLeft indent左缩进
ruler.rightSangría derechaRight indent右缩进
ruler.tabLeftTabulación izquierdaLeft tab左对齐制表位
ruler.tabCenterTabulación centradaCenter tab居中制表位
ruler.tabRightTabulación derechaRight tab右对齐制表位
ruler.tabDecimalTabulación decimalDecimal tab小数点对齐制表位
ruler.tabHintClic para cambiar de tipo; clic en la regla para poner unaClick to change the kind; click on the ruler to set one单击可更改类型;在标尺上单击可设置制表位
ruler.tabDragArrastra para moverla, o fuera de la regla para quitarlaDrag to move it, or off the ruler to remove it拖动可移动,拖出标尺可删除
find.count{index} de {total}{index} of {total}{index}/{total}
find.findBuscarFind查找
find.replaceWithReemplazar porReplace with替换为
find.previousAnterior (⇧↵)Previous (⇧↵)上一个(⇧↵)
find.nextSiguiente (↵)Next (↵)下一个(↵)
find.matchCaseDistinguir mayúsculas y minúsculasMatch case区分大小写
find.wholeWordSolo palabras completasWhole words only全字匹配
find.replaceReemplazarReplace替换
find.closeCerrar (Esc)Close (Esc)关闭(Esc)
find.replaceOneReemplazar estaReplace this one替换此处
find.replaceAllReemplazar todasReplace all全部替换
find.allTodasAll全部
find.noneSin resultadosNo results没有结果
paper.letterCarta (21,6 × 27,9 cm)Letter (8.5 × 11 in)Letter(8.5 × 11 英寸)
paper.a4A4 (21 × 29,7 cm)A4 (21 × 29.7 cm)A4(21 × 29.7 厘米)
paper.legalOficio (21,6 × 35,6 cm)Legal (8.5 × 14 in)Legal(8.5 × 14 英寸)
margins.normalNormales (2,54 cm)Normal (2.54 cm)常规(2.54 厘米)
margins.narrowEstrechos (1,27 cm)Narrow (1.27 cm)窄(1.27 厘米)
margins.moderateModerados (2,54 y 1,91 cm)Moderate (2.54 and 1.91 cm)适中(2.54 和 1.91 厘米)
margins.wideAnchos (2,54 y 5,08 cm)Wide (2.54 and 5.08 cm)宽(2.54 和 5.08 厘米)
file.defaultdocumentodocument文档
pageSetup.noteLos cambios se ven al momento en el documento. Cancelar deja la página como estaba.Changes show in the document at once. Cancel leaves the page as it was.更改会立即显示在文档中。取消则页面保持原样。
menu.closeCerrar el menúClose the menu关闭菜单
file.untitledDocumento sin títuloUntitled document无标题文档
menu.fileArchivoFile文件
menu.openAbrir documento…Open document…打开文档…
menu.saveGuardarSave保存
menu.saveAsGuardar como…Save as…另存为…
menu.exportExportarExport导出
menu.openShortAbrirOpen打开
toolbar.tabsHerramientasTools工具
toolbar.tabFormatFormatoFormat格式
toolbar.tabInsertInsertarInsert插入
toolbar.tabPagePáginaPage页面
menu.pages{n} páginas{n} pages{n} 页
menu.page{n} página{n} page{n} 页
menu.unsavedSin guardarNot saved未保存
menu.documentDocumentoDocument文档
menu.backVolver al documentoBack to the document返回文档
menu.docxNotePara seguir editándolo, aquí o en WordTo go on editing it, here or in Word可在这里或 Word 中继续编辑
menu.pdfNotePara enviar o imprimir; etiquetado para lectores de pantallaTo send or print; tagged for screen readers用于发送或打印;带有供屏幕阅读器使用的标记
menu.mdNoteSolo el texto, para notas y la webThe text alone, for notes and the web仅文本,用于笔记和网页
menu.printNoteCon las fuentes de esta computadoraWith the fonts of this computer使用这台电脑上的字体
menu.noLetterheadSin membreteNo letterhead无信头
menu.letterheadOnUn membrete bajo cada páginaA letterhead under every page每页底下都有信头
menu.marginsCustommárgenes propiosown margins自定义边距
menu.interfaceIdioma de la interfazInterface language界面语言
menu.themeAparienciaAppearance外观
theme.lightClaroLight浅色
theme.darkOscuroDark深色
theme.autoComo el sistemaAs the system跟随系统
menu.printImprimir…Print…打印…
pageSetup.titleConfiguración de la páginaPage setup页面设置
pageSetup.applyToAplicar aApply to应用于
pageSetup.thisSectionEsta secciónThis section本节
pageSetup.wholeDocumentTodo el documentoWhole document整篇文档
pageSetup.openConfiguración de la página…Page setup…页面设置…
acceptAceptarOK确定
pageSetup.customPersonalizadoCustom自定义
pageSetup.sizeTamañoSize纸张大小
pageSetup.widthAnchoWidth宽度
pageSetup.heightAltoHeight高度
pageSetup.portraitVerticalPortrait纵向
pageSetup.landscapeHorizontalLandscape横向
pageSetup.orientationOrientaciónOrientation纸张方向
pageSetup.marginsMárgenesMargins页边距
pageSetup.topSuperiorTop上
pageSetup.bottomInferiorBottom下
pageSetup.leftIzquierdoLeft左
pageSetup.rightDerechoRight右
cancelCancelarCancel取消
type.textTextoText文本
type.dateFechaDate日期
type.dateLongFecha largaLong date长日期
type.dateFullFecha completaFull date完整日期
type.numberNúmeroNumber数字
type.currencyMonedaCurrency货币
case.noneAaAaAa
case.upperMAYÚSCULASUPPERCASE大写
case.lowerminúsculaslowercase小写
case.capitalNombre PropioTitle Case首字母大写
panel.outlineEsquemaOutline大纲
panel.variablesVariablesVariables变量
panel.outlineEmptyAquí aparecen los títulos del documento. Da a un párrafo el estilo <b>Título 1</b>, o empieza una línea con <code>#</code> y un espacio.The headings of the document appear here. Give a paragraph the style <b>Heading 1</b>, or start a line with <code>#</code> and a space.文档的标题会显示在这里。为段落应用<b>标题 1</b>样式,或在行首输入 <code>#</code> 和一个空格。
panel.variablesEmptyUna variable es un hueco para un dato: escribe <code>{{cliente}}</code> en el documento, o selecciona un texto e insértala abajo.A variable is a blank for a piece of data: type <code>{{client}}</code> in the document, or select some text and insert one below.变量是一项数据的空白处:在文档中输入 <code>{{client}}</code>,或选中一段文字并在下方插入一个变量。
var.valueOfValor de {name}Value of {name}{name} 的值
var.controlOf{title} de {name}{title} of {name}{name} 的{title}
var.uses{n} veces{n} uses{n} 处
var.noteRellenar cambia el documento; se deshace de una vez, y los valores se conservan.Filling changes the document; it is undone in one step, and the values are kept.填写会更改文档;一步即可撤销,填写的值会被保留。
var.namePlaceholdernombre_de_la_variablevariable_name变量名称
var.newHereVariable nueva, donde está el cursorNew variable, at the cursor在光标处新建变量
var.insertTitlePone la variable en el cursor, o en lugar del texto seleccionadoPuts the variable at the cursor, or in place of the selected text在光标处放置变量,或替换所选文字
var.fillNoneEscribe valores para rellenarType values to fill输入要填写的值
var.fillOneFieldRellenar 1 variable en el documentoFill 1 variable in the document填写文档中的 1 个变量
var.fillFieldsRellenar {n} variables en el documentoFill {n} variables in the document填写文档中的 {n} 个变量
var.fillOneRellenar solo esta (Enter)Fill only this one (Enter)只填写这一个(Enter)
var.introLos datos que cambian en cada documento. Escribe un valor y se pone en todos los lugares donde aparece.The data that changes in each document. Type a value and it goes in every place it appears.每份文档中变化的数据。输入一个值,它会出现在所有使用它的地方。
var.otherOtros datosOther data其他数据
var.searchBuscar una variableFind a variable查找变量
var.blocksBloquesBlocks块
var.blockTextUn texto dentro de un párrafoSome text in a paragraph段落中的一段文字
var.blockRowUna fila de la tablaA row of a table表格中的一行
var.blockParagraphsLos párrafos entre sus marcasThe paragraphs between its marks标记之间的段落
var.blockInvertedse queda cuando el valor no estákept when the value is not there没有值时保留
var.blockUnsetSin decidirNot set未设置
var.blockYesSe quedaKept保留
var.blockNoSe quitaTaken out删除
var.blockListUna vez por cada uno de los {n} de los datosOnce for each of the {n} in the data对数据中的 {n} 项各重复一次
var.blockListOneUna vez, por el único de los datosOnce, for the one in the data一次,对应数据中的一项
var.blockHintPara repetir un bloque, carga una lista con «Cargar datos…».To repeat a block, load a list with “Load data…”.要重复一个块,请用“载入数据…”载入一个列表。
var.noMatchNinguna variable tiene “{query}”.No variable has “{query}”.没有包含“{query}”的变量。
var.formatsCómo se escribeHow it is written写法
var.datePlaceholder12/10/2026 u hoy12/10/2026 or today2026-10-12 或 今天
var.numberPlaceholder125000012500001250000
var.loadCargar datos…Load data…载入数据…
var.loadTitleToma los valores de un archivo .jsonTakes the values from a .json file从 .json 文件读取值
var.badJsonEl archivo no es un JSON válido.The file is not valid JSON.该文件不是有效的 JSON。
var.goToIr a donde se usaGo to where it is used转到使用位置
var.valueValorValue值
var.typeTipo de datoData type数据类型
var.caseMayúsculas y minúsculasLetter case大小写
var.decimalsDecimalesDecimals小数位
var.decimalsAutoDecimales: los que traigaDecimals: as given小数位:按原样
var.currencyCodeMoneda: EUR, MXN…Currency: EUR, MXN…货币:CNY、USD…
var.currencyTitleEl código de la moneda (EUR, MXN, USD), o cuántos decimales; vacío, con el signo de pesosThe code of the currency (EUR, MXN, USD), or how many decimals; empty, with a dollar sign货币代码(CNY、USD、EUR),或小数位数;留空则使用美元符号
var.datePatternPatrón: dd/MM/yyyyPattern: dd/MM/yyyy格式:yyyy-MM-dd
var.datePatternTitled, dd, dddd (el día de la semana), M, MM, MMM, MMMM, yy y yyyy se reemplazan; las demás palabras se quedand, dd, dddd (the day of the week), M, MM, MMM, MMMM, yy and yyyy are replaced; other words are keptd、dd、dddd(星期几)、M、MM、MMM、MMMM、yy 和 yyyy 会被替换;其他文字保持不变
var.notNumberNo es un número: se pondrá tal cual.Not a number: it will be inserted as is.不是数字:将按原样插入。
var.notDateNo es una fecha (12/10/2026, 2026-10-12 u hoy): se pondrá tal cual.Not a date (12/10/2026, 2026-10-12 or today): it will be inserted as is.不是日期(2026-10-12、2026年10月12日 或 今天):将按原样插入。
insertInsertarInsert插入
bubble.fitAl {n} % del ancho del textoAt {n}% of the text width为文字宽度的 {n}%
bubble.toVariableConvierte la selección en la variable {{{name}}}Turns the selection into the variable {{{name}}}将所选内容变为变量 {{{name}}}
bubble.toVariableNoSelecciona un nombre corto, sin signos, para hacerlo variableSelect a short name, without symbols, to make it a variable选择一个不含符号的短名称,才能将其变为变量
bubble.styleEstilo {name}Style {name}样式 {name}
bubble.labelAcciones para la selecciónActions for the selection所选内容的操作
bubble.deleteEliminarDelete删除
bubble.copyCopiarCopy复制
bubble.cutCortarCut剪切
bubble.pastePegarPaste粘贴
bubble.pastePlainPegar sin formatoPaste as text粘贴为纯文本
bubble.selectAllSeleccionar todoSelect all全选
bubble.deleteTitleQuita la imagenRemoves the image删除图片
bubble.upperMAYÚSCAPS大写
bubble.upperTitleEl valor, en mayúsculasThe value, in capitals值,全部大写
bubble.capitalTitleEl valor, con mayúscula en cada palabraThe value, with each word capitalized值,每个单词首字母大写
bubble.dateFechaDate日期
bubble.dateTitleEl valor es una fecha: 12 de octubre de 2026The value is a date: 12 de octubre de 2026值是日期:2026年10月12日
bubble.currencyMonedaCurrency货币
bubble.currencyTitleEl valor es un importe: $1,234.50The value is an amount: $1,234.50值是金额:¥1,234.50
bubble.highlightResaltarHighlight突出显示
bubble.highlightTitleResalta en amarilloHighlights in yellow用黄色突出显示
bubble.bullets• Lista• List• 列表
bubble.numbers1. Lista1. List1. 列表
bubble.tableTitleInserta una tabla de 3 × 3Inserts a 3 × 3 table插入 3 × 3 表格
bubble.signaturesFirmasSignatures签名
bubble.signaturesTitleInserta las firmas de asesor y cliente, una al lado de otraInserts the adviser and client signatures, side by side并排插入顾问和客户的签名
bubble.imageImagenImage图片
bubble.imageTitleInserta una imagen, o varias en cuadrículaInserts one image, or several in a grid插入一张图片,或将多张排成网格
bubble.variableTitleInserta una variable de plantillaInserts a template variable插入模板变量
bubble.pageBreakSalto de páginaPage break分页符
insert.sectionNextPageSalto de sección: página siguienteSection break: next page分节符:下一页
insert.sectionContinuousSalto de sección: continuoSection break: continuous分节符:连续
bubble.pageBreakTitleLo que sigue pasa a la página siguienteWhat follows moves to the next page后面的内容移到下一页
bubble.addRow+ Fila+ Row+ 行
bubble.addRowTitleInserta una fila debajoInserts a row below在下方插入一行
bubble.addColumn+ Columna+ Column+ 列
bubble.addColumnTitleInserta una columna a la derechaInserts a column to the right在右侧插入一列
bubble.delRow− Fila− Row− 行
bubble.delRowTitleElimina la filaDeletes the row删除该行
bubble.delColumn− Columna− Column− 列
bubble.delColumnTitleElimina la columnaDeletes the column删除该列
bubble.delTableEliminar tablaDelete table删除表格
bubble.delTableTitleElimina la tabla completaDeletes the whole table删除整个表格
bubble.splitDividirSplit拆分
bubble.splitTitleDivide la celda combinadaSplits the merged cell拆分合并的单元格
bubble.mergeCombinarMerge合并
bubble.mergeTitleCombina las celdas seleccionadasMerges the selected cells合并所选单元格
bubble.noBordersSin bordesNo borders无边框
bubble.bordersCon bordesBorders边框
bubble.noBordersTitleOculta los bordes de toda la tablaHides the borders of the whole table隐藏整个表格的边框
bubble.bordersTitleMuestra los bordes de toda la tablaShows the borders of the whole table显示整个表格的边框
bubble.shadeSombrearShade底纹
bubble.shadeTitlePone o quita el fondo de las celdasAdds or removes the background of the cells添加或删除单元格的背景
bubble.cellsCeldasCells单元格
bubble.paragraphPárrafoParagraph段落
bubble.namePlaceholdernombrename名称
bubble.nameNombre de la variableVariable name变量名称
grid.one1 imagen1 image1 张图片
grid.many{n} imágenes{n} images{n} 张图片
grid.noteCuadrícula de {across} × {rows}. Arrastra una imagen para cambiarla de sitio.Grid of {across} × {rows}. Drag an image to move it.{across} × {rows} 网格。拖动图片可移动它。
grid.emptyNo queda ninguna imagen.No images left.没有剩余的图片。
grid.removeNameQuitar {name}Remove {name}删除 {name}
grid.titleInsertar imágenes en cuadrículaInsert images in a grid以网格插入图片
grid.columnsColumnasColumns列数
grid.moreAñadir más…Add more…添加更多…
grid.removeQuitarRemove删除
app.openFailedNo se pudo abrir el archivo: {error}The file could not be opened: {error}无法打开文件:{error}
app.saveFailedNo se pudo guardar: {error}The document could not be saved: {error}无法保存文档:{error}
app.wordDocumentDocumento de WordWord documentWord 文档
note.anonymousAnónimoAnonymous匿名
note.wordNotaNote批注
panel.notesNotasNotes批注
note.placeholderNota para el texto seleccionadoNote for the selected text对所选文字的批注
note.addAñadir notaAdd note添加批注
note.addTitlePone la nota en el texto seleccionado, o en la palabra del cursorPuts the note on the selected text, or on the word at the cursor将批注添加到所选文字,或光标处的词语
note.emptyUna nota es un comentario sobre un trozo del texto: selecciónalo, escribe la nota arriba y pulsa <b>Añadir nota</b>. En Word se ve como un comentario.A note is a comment on a stretch of the text: select it, type the note above and press <b>Add note</b>. Word shows it as a comment.批注是对一段文字的评论:选中文字,在上方输入批注,然后按<b>添加批注</b>。Word 会将其显示为批注。
note.deleteEliminar notaDelete note删除批注
note.deleteAllEliminar todas las notasDelete all notes删除所有批注
note.goToIr al texto de la notaGo to the text of the note转到批注的文字
note.textOfTexto de la notaText of the note批注内容
note.authorTu nombreYour name你的姓名
note.authorTitleCon este nombre se firman las notas que añadasThe notes you add are signed with this name你添加的批注会署上这个名字
bubble.noteTitleAñade una nota al texto seleccionadoAdds a note to the selected text为所选文字添加批注
bubble.notePlaceholderEscribe la notaType the note输入批注
note.colorColor de la notaNote color批注颜色
view.notesNotas al margenNotes in the margin在页边显示批注
panel.historyVersionesVersions版本
history.emptyAún no hay versiones de este documento. Guarda una para poder volver a ella o ver qué cambió desde entonces.This document has no versions yet. Save one to be able to go back to it, or to see what changed since.此文档还没有版本。保存一个版本,以便以后返回,或查看之后的更改。
history.noneLas versiones del documento aparecen aquí cuando la aplicación las guarda.The versions of the document appear here when the application keeps them.当应用程序保存版本时,文档的版本会显示在这里。
history.labelNombre de la versión (opcional)Name of the version (optional)版本名称(可选)
history.saveGuardar versiónSave version保存版本
history.saveTitleGuarda el documento tal como está ahora como una versión a la que volverKeeps the document as it is now as a version to go back to将文档的当前状态保存为可返回的版本
history.untitledVersión sin nombreUnnamed version未命名版本
history.loadingCargando las versiones…Loading the versions…正在载入版本…
history.failedNo se pudieron leer las versiones: {error}The versions could not be read: {error}无法读取版本:{error}
history.openFailedNo se pudo abrir esa versión: {error}That version could not be opened: {error}无法打开该版本:{error}
history.saveFailedNo se pudo guardar la versión: {error}The version could not be saved: {error}无法保存版本:{error}
history.compareVer cambiosSee changes查看更改
history.compareTitleMuestra qué cambió desde esta versión hasta el documento actualShows what changed from this version to the document as it is now显示从此版本到当前文档的更改
history.restoreRestaurarRestore还原
history.restoreTitleVuelve el documento a esta versión. Se puede deshacerTakes the document back to this version. It can be undone将文档恢复到此版本。可以撤销
history.restoredVersión restaurada. Deshacer ({undo}) lo deja como estaba.Version restored. Undo ({undo}) leaves it as it was.已还原版本。撤销({undo})可恢复原样。
history.currentEl documento actualThe current document当前文档
compare.titleCambiosChanges更改
compare.fromDesdeFrom从
compare.toHastaTo到
compare.changesCon los cambios marcadosWith the changes marked标记更改
compare.plainSin marcarUnmarked不标记
compare.count{n} cambios{n} changes{n} 处更改
compare.one1 cambio1 change1 处更改
compare.noneSin cambios en el textoNo changes in the text文字没有更改
compare.elsewhere{n} en encabezados, pies, notas o cuadros de texto{n} in headers, footers, notes or text boxes页眉、页脚、注释或文本框中有 {n} 处
compare.notes{n} en notas{n} in notes批注中有 {n} 处
compare.prevCambio anteriorPrevious change上一处更改
compare.nextCambio siguienteNext change下一处更改
compare.closeCerrarClose关闭
compare.restoreRestaurar esta versiónRestore this version还原此版本
compare.legendTachado en rojo: lo que se quitó. Subrayado en verde: lo que se añadió.Struck through in red: what was taken out. Underlined in green: what was put in.红色删除线:被删除的内容。绿色下划线:被添加的内容。
assistant.wordIAAIAI
assistant.offDejar que un asistente de IA lea y cambie este documento (servidor MCP en este equipo)Let an AI assistant read and change this document (MCP server on this machine)允许 AI 助手读取和更改此文档(本机上的 MCP 服务器)
assistant.connectingBuscando el servidor MCP de este equipo… Clic para dejar de buscarLooking for the MCP server on this machine… Click to stop正在查找本机上的 MCP 服务器… 单击停止
assistant.onUn asistente de IA puede leer y cambiar este documento. Clic para desconectarloAn AI assistant can read and change this document. Click to disconnect itAI 助手可以读取和更改此文档。单击断开连接
letterhead.setMembrete…Letterhead…信头…
letterhead.changeCambiar el membrete…Change the letterhead…更改信头…
letterhead.removeQuitar el membreteRemove the letterhead删除信头
letterhead.saveExtraer el membreteExtract the letterhead提取信头
letterhead.namemembreteletterhead信头
letterhead.fitAjustar los márgenes al membreteFit the margins to the letterhead根据信头调整页边距
letterhead.failedEse archivo no sirve de membrete: tiene que ser una imagen PNG o JPG.That file cannot be a letterhead: it has to be a PNG or JPG picture.该文件不能用作信头:必须是 PNG 或 JPG 图片。
collab.wordCompartirShare共享
collab.someoneAlguienSomeone某人
collab.offTrabajar en este documento con otras personas a la vezWork on this document with other people at the same time与其他人同时编辑此文档
collab.connectingConectando con el servidor de colaboración…Connecting to the collaboration server…正在连接协作服务器…
collab.onDocumento compartido. Clic para ver el enlace y quién estáShared document. Click to see the link and who is here共享文档。单击查看链接和在线的人
collab.offlineSin conexión con el servidor. Lo que escribas se envía al volverNo connection to the server. What you type is sent when it is back未连接到服务器。恢复连接后会发送你输入的内容
collab.linkEnlace para invitarLink to invite邀请链接
collab.copyCopiar enlaceCopy link复制链接
collab.copiedCopiadoCopied已复制
collab.leaveDejar de compartir aquíStop sharing here在此停止共享
collab.nameTu nombreYour name你的姓名
collab.youtúyou你
collab.aloneNadie más por ahoraNobody else for now目前没有其他人
collab.peoplePersonas en el documentoPeople on the document文档中的人
collab.failedNo se pudo compartir el documento: {error}The document could not be shared: {error}无法共享文档:{error}
collab.noServerNo hay servidor de colaboración en {url}.There is no collaboration server at {url}.{url} 上没有协作服务器。
collab.askTokenPalabra que pide el servidor para compartirWord the server asks for to share服务器要求的共享口令
collab.goneEste documento compartido ya no existe en el servidor, o no tienes permiso para editarlo.This shared document is no longer on the server, or you may not edit it.此共享文档已不在服务器上,或者你无权编辑。
collab.removedYa no tienes acceso a este documento compartido.You no longer have access to this shared document.你已无权访问此共享文档。
collab.outdatedEste editor y el servidor de colaboración son de versiones distintas: hay que actualizar uno de los dos.This editor and the collaboration server are of different versions: one of them needs updating.此编辑器与协作服务器的版本不同:需要更新其中一个。
collab.leaveToOpenAbrir otro archivo deja de compartir este con los demás. ¿Continuar?Opening another file stops sharing this one with the others. Continue?打开另一个文件会停止与他人共享此文件。是否继续?
insert.imageImagen…Image…图片…
insert.variableVariable…Variable…变量…
insert.noteNota…Note…批注…
insert.footnoteNota al pieFootnote脚注
insert.endnoteNota al finalEndnote尾注
insert.textBoxCuadro de textoText box文本框
reviewRevisarReview审阅
review.toolsControl de cambios: marcar lo que se escribe y se borra, y aceptarlo o rechazarloTrack changes: mark what is typed and deleted, and accept or reject it修订:标记输入和删除的内容,并接受或拒绝
review.trackControlar cambiosTrack changes修订
review.acceptAceptar el cambioAccept change接受修订
review.rejectRechazar el cambioReject change拒绝修订
review.nextCambio siguienteNext change下一处修订
review.prevCambio anteriorPrevious change上一处修订
review.acceptAllAceptar todos los cambiosAccept all changes接受所有修订
review.rejectAllRechazar todos los cambiosReject all changes拒绝所有修订
review.showAllMostrar los cambiosShow the changes显示修订
review.showAcceptedVer como quedaría, con todos aceptadosSee it with all changes accepted查看接受所有修订后的样子
review.showOriginalVer el original, sin los cambiosSee the original, without the changes查看原始状态,不含修订
panel.changesCambiosChanges修订
changes.emptyNo hay cambios marcados. Con <b>Controlar cambios</b> activado, lo que se escribe queda subrayado y lo que se borra, tachado, hasta aceptarlo o rechazarlo. En Word se ven como control de cambios.There are no tracked changes. With <b>Track changes</b> on, what is typed is underlined and what is deleted struck through, until it is accepted or rejected. Word shows them as tracked changes.没有修订。开启<b>修订</b>后,输入的内容会加下划线,删除的内容会加删除线,直到被接受或拒绝。Word 会将其显示为修订。
changes.insertedAñadióAdded添加
changes.deletedEliminóDeleted删除
changes.paragraphun salto de párrafoa paragraph break一个段落标记
changes.acceptAceptarAccept接受
changes.rejectRechazarReject拒绝
changes.goToIr al cambioGo to the change转到该修订
changes.movedFromMovió a otro lugarMoved away已移出
changes.movedToMovió aquíMoved here已移入
changes.byDeBy作者
changes.everyoneTodosEveryone所有人
changes.acceptByAceptar los de {author}Accept all by {author}接受 {author} 的所有修订
changes.rejectByRechazar los de {author}Reject all by {author}拒绝 {author} 的所有修订
changes.formattedCambió el formato deFormatted已设置格式
changes.rowInsertedAñadió una filaAdded a row添加了一行
changes.rowDeletedEliminó una filaDeleted a row删除了一行
changes.listla listalist列表
changes.spacingel espaciadospacing间距
changes.indentla sangríaindent缩进
changes.layoutcómo se reparte en las páginaspage flow分页
insert.pageNumberNúmero de página…Page number…页码…
wrap.inlineEn líneaIn line嵌入型
wrap.inlineTitleLa imagen va en la línea, como una letra másThe picture goes in the line, like one more letter图片位于行中,就像一个字
wrap.behindDetrás del textoBehind the text衬于文字下方
wrap.behindTitleLa imagen va debajo del texto, que pasa por encimaThe picture goes under the text, which runs over it图片位于文字下方,文字覆盖在上面
page.firstDifferentPrimera página distintaDifferent first page首页不同
page.ownHeadersEncabezado y pie propios de esta secciónOwn header and footer for this section本节使用独立的页眉和页脚
wrap.squareTexto alrededorWrap text四周型
wrap.squareTitleEl texto rodea la imagenThe text goes round the picture文字环绕在图片四周
wrap.topBottomArriba y abajoTop and bottom上下型
wrap.topBottomTitleEl texto queda encima y debajo de la imagen, no a los ladosThe text stays above and below the picture, not beside it文字位于图片上方和下方,不在旁边
wrap.noneSobre el textoOver the text浮于文字上方
wrap.noneTitleLa imagen va encima del texto, que no se apartaThe picture goes over the text, which does not move图片位于文字上方,文字不移动
insert.linkEnlace…Link…链接…
link.wordEnlaceLink链接
spell.wordOrtografíaSpelling拼写
spell.lookingBuscando sugerencias…Looking for suggestions…正在查找建议…
spell.noneSin sugerenciasNo suggestions没有建议
spell.replaceCambiar por «{word}»Change to “{word}”改为“{word}”
spell.ignoreOmitirIgnore忽略
spell.ignoreTitleDejar esta palabra sin marcar en el documentoLeave this word unmarked in the document在此文档中不再标记这个词
spell.addAñadir al diccionarioAdd to dictionary添加到词典
spell.addTitleTomar esta palabra como bien escrita de ahora en adelanteTake this word as spelled right from now on从现在起将这个词视为拼写正确
link.titleConvierte el texto en un enlace ({key}K)Turns the text into a link ({key}K)将文字变为链接({key}K)
link.addressDirección del enlaceAddress of the link链接地址
link.placeholderPega o escribe una dirección: ejemplo.comPaste or type an address: example.com粘贴或输入地址:example.com
link.applyEnlazarLink链接
link.saveGuardarSave保存
link.openAbrirOpen打开
link.openTitleAbre el enlace en otra pestañaOpens the link in another tab在新标签页中打开链接
link.editCambiarChange更改
link.editTitleCambia la dirección del enlaceChanges the address of the link更改链接地址
link.removeQuitar enlaceRemove link删除链接
link.removeTitleQuita el enlace y deja el textoRemoves the link and keeps the text删除链接并保留文字
link.follow{key} + clic para abrir{key} + click to open按住 {key} 并单击以打开
toolbar.tableOffpon el cursor dentro de una tablaput the cursor inside a table将光标放在表格中
toolbar.insertToolsInsertar tabla, imagen, enlace, firmas, variable, nota o índiceInsert a table, picture, link, signatures, variable, note or table of contents插入表格、图片、链接、签名、变量、批注或目录
toolbar.alignAlineaciónAlignment对齐方式
toolbar.tableToolsTabla: filas, columnas y celdasTable: rows, columns and cells表格:行、列和单元格
toolbar.pageToolsEncabezado, pie y número de páginaHeader, footer and page number页眉、页脚和页码
toolbar.columnsColumnas: el texto en una, dos o tresColumns: the text in one, two or three分栏:文字分为一栏、两栏或三栏
toolbar.unsavedcambios sin guardarunsaved changes有未保存的更改
toc.titleÍndiceContents目录
toc.insertÍndiceTable of contents目录
toc.insertTitleInserta un índice con los títulos del documento y la página de cada unoInserts a table of contents with the headings of the document and the page of each插入包含文档各标题及其页码的目录
toc.insertHereInsertar índice en el cursorInsert table of contents at the cursor在光标处插入目录
toc.updateActualizar índiceUpdate table of contents更新目录
toc.updatedÍndice al díaTable of contents is up to date目录已是最新
toc.emptyAún no hay títulos: da a un párrafo el estilo Título 1.No headings yet: give a paragraph the style Heading 1.还没有标题:为段落应用“标题 1”样式。
toc.noteEl índice se actualiza solo al guardar, exportar o imprimir.The table of contents is brought up to date on saving, exporting or printing.保存、导出或打印时会更新目录。
The text

Spelling

A browser checks spelling only in text it edits, and the editor edits none of its own: it checks it itself. Words spelled wrong get a red wave, in the language the text is in, and their suggestions come in the bar beside the selection.

import { DocsEditor, createSpellChecker } from '@rebodocs/react';

// Once for the page: each dictionary is loaded the first time a text in its language is checked.
const spellcheck = createSpellChecker({
  dictionaries: {
    es: { aff: '/dictionaries/es.aff', dic: '/dictionaries/es.dic' },
    en: { aff: '/dictionaries/en.aff', dic: '/dictionaries/en.dic' },
  },
});

<DocsEditor docx={file} language="es-MX" spellcheck={spellcheck} />
  • The dictionaries are yours to give. Hunspell’s, as LibreOffice and Firefox use: an .aff and a .dic for each language, by address or by a function that gives their text. Those of wooorm/dictionaries on npm are one source, each under its own licence: the Spanish one GPL, LGPL or MPL, the English one MIT and BSD. Rebodocs carries none.
  • Away from the page. nspell reads them in a worker the editor makes from a string, so no bundler has to find a file; a page with a Content Security Policy has to allow worker-src blob:. The Spanish dictionary takes about half a second to be ready, once.
  • In the language of the text, the one of language, of the file, or chosen at the foot of the editor: es serves es-MX too. Changing it checks the words again; a language with no dictionary is not checked.
  • What it checks: the words of the pages near the view, a quarter of a second after typing stops, and not the one being written until it is finished. Single letters, words in capitals, words joined to digits, variables, addresses, emails, Chinese and Japanese characters and text taken out in tracked changes are left alone.
  • The suggestions: the other button on a word with the wave, a tap on it, or a tap of ⌘ (Ctrl) with the caret in it. A suggestion replaces the word as any edit does, undone with ⌘Z and tracked when changes are. Ignore leaves the word alone in this document; Add to dictionary gives it to the dictionary, for as long as the page is open.
  • A checker of your own, on your server for instance, is an object with check(words, language) and suggest(word, language), each answering at once or with a promise, and add if it takes new words. Grammar is not checked.
Limits

What to know

  • Until locale says otherwise, the interface is in the first of the browser’s languages it speaks, or in English. It was written in Spanish first; the English texts were translated, and are waiting for a native review, as are the Chinese ones.
  • The language is one for the whole page: two editors on a page are in the same one, and choosing it in the menu of either builds both again. The document and its history stay.
  • A tag goes to the language it is of: en-US to English, fr-CA to French once French is added, zh-TW to Traditional Chinese once it is added. A language not added gives English.
  • A {name} with no value given stays as it is written, braces and all.
  • There is no removing a language once added; addLocale again changes its texts.
  • Languages written right to left, such as Arabic and Hebrew, are not supported: the interface and the text of a document are laid out left to right. Chinese is laid out left to right, in lines, as Word does by default; vertical writing is not supported.