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 Englishlocale takes a code or a browser tag ('en-US', 'es_MX', 'zh-TW'). A language the interface does not speak gives English.
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-CNandzh-SGfind the Simplified one;zh-TW,zh-HK,zh-MOandzh-Hantthe 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,
addLocaletakes one the browser asks for before the one shown. Withlocale, or aftersetLocale, 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.
Adding a language
A file of translations, started by a command of the repository, and given to the editor.
- 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
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
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.
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.
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.
What is translated
The interface
All of itThe 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
NothingIt 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 translatedNormal, 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 languageThe 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 tooBold, 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.
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.
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.
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.
| Key | Español | English | 简体中文 |
|---|---|---|---|
| locale.name | Español | English | 简体中文 |
| language | Idioma | Language | 语言 |
| area.header | Encabezado | Header | 页眉 |
| area.firstHeader | Encabezado de la primera página | First page header | 首页页眉 |
| area.firstFooter | Pie de la primera página | First page footer | 首页页脚 |
| area.footer | Pie de página | Footer | 页脚 |
| area.section | Sección {n} | Section {n} | 第 {n} 节 |
| area.footnote | Nota al pie | Footnote | 脚注 |
| area.endnote | Nota al final | Endnote | 尾注 |
| area.textbox | Cuadro de texto | Text box | 文本框 |
| page.word | Página | Page | 页 |
| page.of | de | of | / |
| style.normal | Normal | Normal | 正文 |
| style.title | Título | Title | 标题 |
| style.subtitle | Subtítulo | Subtitle | 副标题 |
| style.heading1 | Título 1 | Heading 1 | 标题 1 |
| style.heading2 | Título 2 | Heading 2 | 标题 2 |
| style.heading3 | Título 3 | Heading 3 | 标题 3 |
| sign.adviser | ASESOR | ADVISER | 顾问 |
| sign.client | CLIENTE | CLIENT | 客户 |
| sign.name | NOMBRE COMPLETO | FULL NAME | 姓名 |
| mark.bold | Negrita | Bold | 加粗 |
| mark.italic | Cursiva | Italic | 倾斜 |
| mark.underline | Subrayado | Underline | 下划线 |
| mark.strike | Tachado | Strikethrough | 删除线 |
| a11y.document | Documento | Document | 文档 |
| a11y.endOfParagraph | fin de párrafo | end of paragraph | 段落结束 |
| a11y.blank | en blanco | blank | 空白 |
| a11y.space | espacio | space | 空格 |
| a11y.tab | tabulador | tab | 制表符 |
| a11y.lineBreak | salto de línea | line break | 换行符 |
| a11y.pageBreak | salto de página | page break | 分页符 |
| a11y.object | objeto | object | 对象 |
| a11y.footnoteRef | Nota al pie {n} | Footnote {n} | 脚注 {n} |
| a11y.endnoteRef | Nota al final {n} | Endnote {n} | 尾注 {n} |
| a11y.picture | Imagen: {alt} | Picture: {alt} | 图片:{alt} |
| a11y.pictureNoAlt | Imagen sin descripción | Picture without a description | 没有说明的图片 |
| a11y.textBox | Cuadro de texto | Text box | 文本框 |
| status.language | Idioma del texto: para la ortografía, la voz de un lector de pantalla y cómo se escriben fechas y números | Language of the text: for spelling, the voice of a screen reader, and how dates and numbers are written | 文本语言:用于拼写检查、屏幕阅读器的语音,以及日期和数字的写法 |
| alt.word | Descripción | Description | 说明 |
| alt.title | Qué muestra la imagen, para quien no la ve: lo que dice un lector de pantalla | What the picture shows, for whoever cannot see it: what a screen reader says | 图片显示的内容,供看不到图片的人使用:屏幕阅读器会朗读它 |
| alt.placeholder | Qué muestra la imagen | What 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.allSelected | Todo seleccionado | All selected | 已全选 |
| a11y.deleted | {text}, borrado | {text}, deleted | {text},已删除 |
| a11y.page | Página {page} | Page {page} | 第 {page} 页 |
| a11y.cell | Tabla, fila {row}, columna {column} | Table, row {row}, column {column} | 表格,第 {row} 行,第 {column} 列 |
| a11y.leftTable | Fuera de la tabla | Out of the table | 已离开表格 |
| a11y.bulletList | Lista con viñetas | Bulleted list | 项目符号列表 |
| a11y.numberList | Lista numerada | Numbered list | 编号列表 |
| a11y.level | nivel {level} | level {level} | 第 {level} 级 |
| a11y.link | Enlace a {href} | Link to {href} | 链接到 {href} |
| a11y.inserted | Insertado por {author} | Inserted by {author} | 由 {author} 插入 |
| a11y.removed | Eliminado por {author} | Deleted by {author} | 由 {author} 删除 |
| a11y.formatted | Formato cambiado por {author} | Formatting changed by {author} | 由 {author} 更改格式 |
| a11y.noted | Con nota | With a note | 有批注 |
| a11y.on | Se activó {name} | {name}, on | {name},开 |
| a11y.off | Se desactivó {name} | {name}, off | {name},关 |
| a11y.undone | Deshecho | Undone | 已撤销 |
| a11y.redone | Rehecho | Redone | 已恢复 |
| a11y.nothingToUndo | Nada que deshacer | Nothing to undo | 没有可撤销的操作 |
| a11y.nothingToRedo | Nada que rehacer | Nothing to redo | 没有可恢复的操作 |
| a11y.pasted | Pegado | Pasted | 已粘贴 |
| a11y.body | Cuerpo del documento | Body of the document | 文档正文 |
| a11y.hint | Alt+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.statusBar | Barra de estado | Status bar | 状态栏 |
| a11y.panel | Panel lateral | Side panel | 侧边栏 |
| a11y.readerOn | Modo lector de pantalla activado | Screen reader mode on | 屏幕阅读器模式已开启 |
| a11y.readerOff | Modo lector de pantalla desactivado | Screen reader mode off | 屏幕阅读器模式已关闭 |
| a11y.ruler | Regla | Ruler | 标尺 |
| a11y.cm | {value} cm | {value} cm | {value} 厘米 |
| a11y.tabKind | Tipo de tabulación: {kind}. Enter: cambiarlo. Insert: poner una en el cursor | Tab 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.find | Buscar y reemplazar | Find and replace | 查找和替换 |
| a11y.bubbleHint | Tab: ir a la barra | Tab: go to the bar | Tab:转到工具栏 |
| slash.label | Comandos | Commands | 命令 |
| slash.hint | Escribe para filtrar; flechas para elegir, Intro para insertar, Escape para dejarlo | Type to filter; arrows to choose, Enter to insert, Escape to leave it | 输入以筛选;方向键选择,Enter 插入,Esc 退出 |
| slash.none | Sin resultados | No results | 没有结果 |
| slash.text | Texto | Text | 文本 |
| slash.insert | Insertar | Insert | 插入 |
| slash.template | Plantilla | Template | 模板 |
| slash.more | Más | More | 更多 |
| form.outside | Solo se pueden cambiar las zonas marcadas | Only the marked areas can be changed | 只能更改标记的区域 |
| form.zone | Zona editable | Editable area | 可编辑区域 |
| form.make | Editable | Editable | 可编辑 |
| form.makeTitle | Solo esto se podrá cambiar cuando se restrinja la edición | Only this can be changed once editing is restricted | 限制编辑后,只有这里可以更改 |
| form.makeMenu | Marcar la selección como editable | Mark the selection as editable | 将所选内容标记为可编辑 |
| form.remove | Quitar zona editable | Remove editable area | 删除可编辑区域 |
| form.removeShort | Quitar | Remove | 删除 |
| form.restrict | Restringir edición a las zonas editables | Restrict editing to the editable areas | 仅允许编辑可编辑区域 |
| form.fieldTitle | Un hueco para llenar cuando se restrinja la edición | A blank to fill in once editing is restricted | 限制编辑后需要填写的空白处 |
| suggest.label | Variables | Variables | 变量 |
| suggest.inDocument | Ya está en el documento | Already in the document | 文档中已有 |
| suggest.example | Por ejemplo: {value} | For example: {value} | 例如:{value} |
| suggest.new | Variable nueva | New variable | 新变量 |
| suggest.type | Escribe el nombre de la variable | Type the name of the variable | 输入变量名称 |
| slash.normalTitle | Texto de párrafo, sin título | Paragraph text, not a heading | 段落正文,不是标题 |
| slash.headingTitle | Título de nivel {n} | Heading of level {n} | {n} 级标题 |
| slash.bulletsTitle | Cada párrafo con una viñeta | Each paragraph with a bullet | 每个段落带项目符号 |
| slash.numbersTitle | Cada párrafo con su número: 1, 2, 3 | Each paragraph with its number: 1, 2, 3 | 每个段落带编号:1、2、3 |
| slash.textBoxTitle | Un cuadro con texto en la página | A box with text on the page | 页面上的一个文本框 |
| slash.footnoteTitle | Una nota numerada al pie de la página | A numbered note at the foot of the page | 页面底部的编号注释 |
| slash.noteTitle | Una nota de revisión sobre la palabra anterior | A review note on the word before | 对前一个词的审阅批注 |
| grid.earlier | Mover {name} antes | Move {name} earlier | 将 {name} 前移 |
| grid.later | Mover {name} después | Move {name} later | 将 {name} 后移 |
| grid.place | {name}, posición {n} de {total} | {name}, position {n} of {total} | {name},第 {n} 个,共 {total} 个 |
| color.none | sin color | no color | 无颜色 |
| color.black | negro | black | 黑色 |
| color.white | blanco | white | 白色 |
| color.gray | gris | gray | 灰色 |
| color.red | rojo | red | 红色 |
| color.orange | naranja | orange | 橙色 |
| color.brown | café | brown | 棕色 |
| color.yellow | amarillo | yellow | 黄色 |
| color.olive | verde olivo | olive | 橄榄色 |
| color.gold | dorado | gold | 金色 |
| color.lime | verde limón | lime | 酸橙色 |
| color.sky | celeste | sky blue | 天蓝色 |
| color.green | verde | green | 绿色 |
| color.cyan | cian | cyan | 青色 |
| color.blue | azul | blue | 蓝色 |
| color.purple | morado | purple | 紫色 |
| color.magenta | magenta | magenta | 洋红色 |
| color.pink | rosa | pink | 粉色 |
| color.dark | {name} oscuro | dark {name} | 深{name} |
| color.light | {name} claro | light {name} | 浅{name} |
| color.current | {name}: {color} | {name}: {color} | {name}:{color} |
| mark.bold.letter | N | B | B |
| mark.italic.letter | K | I | I |
| mark.underline.letter | S | U | U |
| mark.strike.letter | T | S | S |
| toolbar.label | Formato | Formatting | 格式 |
| pageNumber.format | Formato | Format | 格式 |
| endnotes.title | Notas al final | Endnotes | 尾注 |
| endnotes.inSections | Al final de cada sección | At the end of each section | 在每节末尾 |
| endnotes.restart | Empezar de nuevo en esta sección | Start again in this section | 在本节重新编号 |
| endnotes.format | Numeradas {example} | Numbered {example} | 编号 {example} |
| toolbar.find | Buscar y reemplazar | Find and replace | 查找和替换 |
| toolbar.more | Más herramientas | More tools | 更多工具 |
| toolbar.undo | Deshacer | Undo | 撤销 |
| toolbar.redo | Rehacer | Redo | 恢复 |
| table.cells | {columns} por {rows} | {columns} by {rows} | {columns} × {rows} |
| table.column | 1 columna | 1 column | 1 列 |
| table.columns | {n} columnas | {n} columns | {n} 列 |
| table.row | 1 fila | 1 row | 1 行 |
| table.rows | {n} filas | {n} rows | {n} 行 |
| menu.title | Menú del documento | Document menu | 文档菜单 |
| toolbar.panel | Panel: esquema, variables, notas y cambios | Panel: outline, variables, notes and changes | 侧边栏:大纲、变量、批注和修订 |
| toolbar.open | Abrir un documento | Open a document | 打开文档 |
| toolbar.download | Descargar como .docx | Download as .docx | 下载为 .docx |
| toolbar.style | Estilo de párrafo | Paragraph style | 段落样式 |
| toolbar.font | Fuente | Font | 字体 |
| toolbar.fontSize | Tamaño de fuente | Font size | 字号 |
| toolbar.color | Color del texto | Text color | 字体颜色 |
| toolbar.highlight | Color de resaltado | Highlight color | 突出显示颜色 |
| toolbar.noHighlight | Sin resaltado | No highlight | 无突出显示 |
| align.left | Alinear a la izquierda | Align left | 左对齐 |
| align.center | Centrar | Center | 居中 |
| align.right | Alinear a la derecha | Align right | 右对齐 |
| align.justify | Justificar | Justify | 两端对齐 |
| spacing.title | Interlineado, espaciado y paginación | Line spacing, paragraph spacing and pagination | 行距、段落间距和分页 |
| spacing.line | Interlineado | Line spacing | 行距 |
| spacing.before | Espacio antes del párrafo | Space before paragraph | 段前间距 |
| spacing.after | Espacio después del párrafo | Space after paragraph | 段后间距 |
| spacing.pagination | Paginación | Pagination | 分页 |
| spacing.widows | Control de viudas y huérfanas | Widow and orphan control | 孤行控制 |
| spacing.keepNext | Conservar con el siguiente | Keep with next | 与下段同页 |
| spacing.keepLines | Conservar líneas juntas | Keep lines together | 段中不分页 |
| spacing.breakBefore | Salto de página antes | Page break before | 段前分页 |
| indent.less | Reducir sangría | Decrease indent | 减少缩进量 |
| indent.more | Aumentar sangría | Increase indent | 增加缩进量 |
| indent.dialog | Sangrías… | Indents… | 缩进… |
| indent.title | Sangrías del párrafo | Paragraph indents | 段落缩进 |
| indent.left | Izquierda | Left | 左侧 |
| indent.right | Derecha | Right | 右侧 |
| indent.special | Especial | Special | 特殊 |
| indent.none | Ninguna | None | 无 |
| indent.firstLine | Primera línea | First line | 首行缩进 |
| indent.hanging | Francesa | Hanging | 悬挂缩进 |
| indent.by | En | By | 缩进值 |
| table.insert | Insertar tabla | Insert table | 插入表格 |
| table.signatures | Insertar firmas | Insert signatures | 插入签名 |
| table.merge | Combinar celdas | Merge cells | 合并单元格 |
| table.split | Dividir celda | Split cell | 拆分单元格 |
| table.rowAbove | Insertar fila encima | Insert row above | 在上方插入行 |
| table.rowBelow | Insertar fila debajo | Insert row below | 在下方插入行 |
| table.columnLeft | Insertar columna a la izquierda | Insert column to the left | 在左侧插入列 |
| table.columnRight | Insertar columna a la derecha | Insert column to the right | 在右侧插入列 |
| table.deleteRow | Eliminar fila | Delete row | 删除行 |
| table.deleteColumn | Eliminar columna | Delete column | 删除列 |
| table.deleteTable | Eliminar tabla | Delete table | 删除表格 |
| table.rowHeight | Alto de fila | Row height | 行高 |
| table.rowAuto | Auto | Auto | 自动 |
| table.rowExact | Exacto | Exact | 固定值 |
| table.hideBorders | Ocultar los bordes de la tabla | Hide the table borders | 隐藏表格边框 |
| table.showBorders | Mostrar los bordes de la tabla | Show the table borders | 显示表格边框 |
| table.cellBorders | Bordes de la celda | Cell borders | 单元格边框 |
| table.shading | Sombreado | Shading | 底纹 |
| table.noShading | Sin sombreado | No shading | 无底纹 |
| table.headerRow | Repetir como fila de encabezado | Repeat as header row | 重复标题行 |
| table.align | Texto en la celda | Text in the cell | 单元格中的文字 |
| table.alignTop | Arriba | Top | 顶端 |
| table.alignCenter | Al centro | Middle | 居中 |
| table.alignBottom | Abajo | Bottom | 底端 |
| table.direction | Dirección del texto | Text direction | 文字方向 |
| table.directionLevel | Horizontal | Horizontal | 水平 |
| table.directionUp | De abajo arriba | Bottom to top | 从下到上 |
| table.directionDown | De arriba abajo | Top to bottom | 从上到下 |
| table.lineStyle | Línea de los bordes | Border line | 边框线 |
| table.lineSingle | Continua | Solid | 实线 |
| table.lineDouble | Doble | Double | 双线 |
| table.lineDashed | Discontinua | Dashed | 虚线 |
| table.lineDotted | Punteada | Dotted | 点线 |
| columns.title | Columnas | Columns | 分栏 |
| columns.one | Una | One | 一栏 |
| columns.two | Dos | Two | 两栏 |
| columns.three | Tres | Three | 三栏 |
| columns.left | Una estrecha a la izquierda | A narrow one on the left | 左侧一窄栏 |
| columns.right | Una estrecha a la derecha | A narrow one on the right | 右侧一窄栏 |
| columns.separator | Línea entre columnas | Line between columns | 分隔线 |
| columns.break | Salto de columna | Column break | 分栏符 |
| columns.forSection | Para la sección donde está el cursor | For the section the cursor is in | 应用于光标所在的节 |
| columns.forSelection | Para lo seleccionado, en una sección propia | For the selection, as a section of its own | 应用于所选内容,作为单独的一节 |
| toolbar.image | Insertar imagen (varias a la vez van en cuadrícula) | Insert image (several at once go in a grid) | 插入图片(一次插入多张时排成网格) |
| toolbar.page | Encabezado, pie de página y saltos | Header, footer and breaks | 页眉、页脚和分隔符 |
| toolbar.editHeader | Editar el encabezado | Edit the header | 编辑页眉 |
| toolbar.editFooter | Editar el pie de página | Edit the footer | 编辑页脚 |
| toolbar.pageBreak | Insertar salto de página | Insert page break | 插入分页符 |
| pageNumber.title | Número de página | Page number | 页码 |
| pageNumber.none | Ninguno | None | 无 |
| pageNumber.noneTitle | Sin número de página | No page number | 不显示页码 |
| pageNumber.inHeader | En el encabezado | In the header | 在页眉中 |
| pageNumber.footer | Pie | Footer | 页脚 |
| pageNumber.inFooter | En el pie de página | In the footer | 在页脚中 |
| pageNumber.position | Posición | Position | 位置 |
| pageNumber.left | A la izquierda | Left | 左侧 |
| pageNumber.center | Al centro | Center | 居中 |
| pageNumber.right | A la derecha | Right | 右侧 |
| list.bullet | Lista con viñetas | Bulleted list | 项目符号列表 |
| list.number | Lista numerada | Numbered list | 编号列表 |
| focus.mode | Modo concentración | Focus mode | 专注模式 |
| focus.enter | Modo concentración ({keys}) | Focus mode ({keys}) | 专注模式({keys}) |
| focus.exit | Salir | Leave | 退出 |
| list.bulletStyles | Formatos de viñeta | Bullet styles | 项目符号样式 |
| list.numberStyles | Formatos de numeración | Numbering styles | 编号样式 |
| list.bulletsOfLevel | Viñetas del nivel | Bullets of this level | 本级项目符号 |
| list.numbersOfLevel | Números del nivel | Numbers of this level | 本级编号 |
| list.styleOf | Formato {sample} | Style {sample} | 样式 {sample} |
| list.down | Bajar un nivel (sublista) | Down a level (sublist) | 降一级(子列表) |
| list.up | Subir un nivel | Up a level | 升一级 |
| list.restart | Reiniciar en 1 desde aquí | Restart at 1 here | 从 1 重新开始编号 |
| list.continue | Continuar la numeración anterior | Continue the previous numbering | 继续前一列表的编号 |
| list.hint | Tab 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.word | Tabla | Table | 表格 |
| status.page | Página {page} de {pages} | Page {page} of {pages} | 第 {page} 页,共 {pages} 页 |
| status.word | palabra | word | 字 |
| status.words | palabras | words | 字 |
| status.char | carácter | character | 个字符 |
| status.chars | caracteres | characters | 个字符 |
| status.of | {n} de {total} | {n} of {total} | {n}/{total} |
| view.flow | Texto al ancho de la ventana, sin páginas | Text as wide as the window, without pages | 文字与窗口同宽,不分页 |
| view.column | Una página | One page | 单页 |
| view.spread | Dos páginas | Two pages | 双页 |
| view.grid | Cuadrícula de páginas | Grid of pages | 多页网格 |
| view.fitWidth | Ajustar al ancho de la ventana | Fit to the window width | 适应窗口宽度 |
| view.fitPage | Ver la página completa | Show the whole page | 显示整页 |
| zoom.reset | Volver al 100 % | Back to 100% | 恢复到 100% |
| zoom.out | Alejar | Zoom out | 缩小 |
| zoom.in | Acercar | Zoom in | 放大 |
| ruler.marginLeft | Margen izquierdo | Left margin | 左边距 |
| ruler.marginRight | Margen derecho | Right margin | 右边距 |
| ruler.first | Sangría de primera línea | First line indent | 首行缩进 |
| ruler.hanging | Sangría francesa | Hanging indent | 悬挂缩进 |
| ruler.left | Sangría izquierda | Left indent | 左缩进 |
| ruler.right | Sangría derecha | Right indent | 右缩进 |
| ruler.tabLeft | Tabulación izquierda | Left tab | 左对齐制表位 |
| ruler.tabCenter | Tabulación centrada | Center tab | 居中制表位 |
| ruler.tabRight | Tabulación derecha | Right tab | 右对齐制表位 |
| ruler.tabDecimal | Tabulación decimal | Decimal tab | 小数点对齐制表位 |
| ruler.tabHint | Clic para cambiar de tipo; clic en la regla para poner una | Click to change the kind; click on the ruler to set one | 单击可更改类型;在标尺上单击可设置制表位 |
| ruler.tabDrag | Arrastra para moverla, o fuera de la regla para quitarla | Drag to move it, or off the ruler to remove it | 拖动可移动,拖出标尺可删除 |
| find.count | {index} de {total} | {index} of {total} | {index}/{total} |
| find.find | Buscar | Find | 查找 |
| find.replaceWith | Reemplazar por | Replace with | 替换为 |
| find.previous | Anterior (⇧↵) | Previous (⇧↵) | 上一个(⇧↵) |
| find.next | Siguiente (↵) | Next (↵) | 下一个(↵) |
| find.matchCase | Distinguir mayúsculas y minúsculas | Match case | 区分大小写 |
| find.wholeWord | Solo palabras completas | Whole words only | 全字匹配 |
| find.replace | Reemplazar | Replace | 替换 |
| find.close | Cerrar (Esc) | Close (Esc) | 关闭(Esc) |
| find.replaceOne | Reemplazar esta | Replace this one | 替换此处 |
| find.replaceAll | Reemplazar todas | Replace all | 全部替换 |
| find.all | Todas | All | 全部 |
| find.none | Sin resultados | No results | 没有结果 |
| paper.letter | Carta (21,6 × 27,9 cm) | Letter (8.5 × 11 in) | Letter(8.5 × 11 英寸) |
| paper.a4 | A4 (21 × 29,7 cm) | A4 (21 × 29.7 cm) | A4(21 × 29.7 厘米) |
| paper.legal | Oficio (21,6 × 35,6 cm) | Legal (8.5 × 14 in) | Legal(8.5 × 14 英寸) |
| margins.normal | Normales (2,54 cm) | Normal (2.54 cm) | 常规(2.54 厘米) |
| margins.narrow | Estrechos (1,27 cm) | Narrow (1.27 cm) | 窄(1.27 厘米) |
| margins.moderate | Moderados (2,54 y 1,91 cm) | Moderate (2.54 and 1.91 cm) | 适中(2.54 和 1.91 厘米) |
| margins.wide | Anchos (2,54 y 5,08 cm) | Wide (2.54 and 5.08 cm) | 宽(2.54 和 5.08 厘米) |
| file.default | documento | document | 文档 |
| pageSetup.note | Los 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.close | Cerrar el menú | Close the menu | 关闭菜单 |
| file.untitled | Documento sin título | Untitled document | 无标题文档 |
| menu.file | Archivo | File | 文件 |
| menu.open | Abrir documento… | Open document… | 打开文档… |
| menu.save | Guardar | Save | 保存 |
| menu.saveAs | Guardar como… | Save as… | 另存为… |
| menu.export | Exportar | Export | 导出 |
| menu.openShort | Abrir | Open | 打开 |
| toolbar.tabs | Herramientas | Tools | 工具 |
| toolbar.tabFormat | Formato | Format | 格式 |
| toolbar.tabInsert | Insertar | Insert | 插入 |
| toolbar.tabPage | Página | Page | 页面 |
| menu.pages | {n} páginas | {n} pages | {n} 页 |
| menu.page | {n} página | {n} page | {n} 页 |
| menu.unsaved | Sin guardar | Not saved | 未保存 |
| menu.document | Documento | Document | 文档 |
| menu.back | Volver al documento | Back to the document | 返回文档 |
| menu.docxNote | Para seguir editándolo, aquí o en Word | To go on editing it, here or in Word | 可在这里或 Word 中继续编辑 |
| menu.pdfNote | Para enviar o imprimir; etiquetado para lectores de pantalla | To send or print; tagged for screen readers | 用于发送或打印;带有供屏幕阅读器使用的标记 |
| menu.mdNote | Solo el texto, para notas y la web | The text alone, for notes and the web | 仅文本,用于笔记和网页 |
| menu.printNote | Con las fuentes de esta computadora | With the fonts of this computer | 使用这台电脑上的字体 |
| menu.noLetterhead | Sin membrete | No letterhead | 无信头 |
| menu.letterheadOn | Un membrete bajo cada página | A letterhead under every page | 每页底下都有信头 |
| menu.marginsCustom | márgenes propios | own margins | 自定义边距 |
| menu.interface | Idioma de la interfaz | Interface language | 界面语言 |
| menu.theme | Apariencia | Appearance | 外观 |
| theme.light | Claro | Light | 浅色 |
| theme.dark | Oscuro | Dark | 深色 |
| theme.auto | Como el sistema | As the system | 跟随系统 |
| menu.print | Imprimir… | Print… | 打印… |
| pageSetup.title | Configuración de la página | Page setup | 页面设置 |
| pageSetup.applyTo | Aplicar a | Apply to | 应用于 |
| pageSetup.thisSection | Esta sección | This section | 本节 |
| pageSetup.wholeDocument | Todo el documento | Whole document | 整篇文档 |
| pageSetup.open | Configuración de la página… | Page setup… | 页面设置… |
| accept | Aceptar | OK | 确定 |
| pageSetup.custom | Personalizado | Custom | 自定义 |
| pageSetup.size | Tamaño | Size | 纸张大小 |
| pageSetup.width | Ancho | Width | 宽度 |
| pageSetup.height | Alto | Height | 高度 |
| pageSetup.portrait | Vertical | Portrait | 纵向 |
| pageSetup.landscape | Horizontal | Landscape | 横向 |
| pageSetup.orientation | Orientación | Orientation | 纸张方向 |
| pageSetup.margins | Márgenes | Margins | 页边距 |
| pageSetup.top | Superior | Top | 上 |
| pageSetup.bottom | Inferior | Bottom | 下 |
| pageSetup.left | Izquierdo | Left | 左 |
| pageSetup.right | Derecho | Right | 右 |
| cancel | Cancelar | Cancel | 取消 |
| type.text | Texto | Text | 文本 |
| type.date | Fecha | Date | 日期 |
| type.dateLong | Fecha larga | Long date | 长日期 |
| type.dateFull | Fecha completa | Full date | 完整日期 |
| type.number | Número | Number | 数字 |
| type.currency | Moneda | Currency | 货币 |
| case.none | Aa | Aa | Aa |
| case.upper | MAYÚSCULAS | UPPERCASE | 大写 |
| case.lower | minúsculas | lowercase | 小写 |
| case.capital | Nombre Propio | Title Case | 首字母大写 |
| panel.outline | Esquema | Outline | 大纲 |
| panel.variables | Variables | Variables | 变量 |
| panel.outlineEmpty | Aquí 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.variablesEmpty | Una 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.valueOf | Valor de {name} | Value of {name} | {name} 的值 |
| var.controlOf | {title} de {name} | {title} of {name} | {name} 的{title} |
| var.uses | {n} veces | {n} uses | {n} 处 |
| var.note | Rellenar 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.namePlaceholder | nombre_de_la_variable | variable_name | 变量名称 |
| var.newHere | Variable nueva, donde está el cursor | New variable, at the cursor | 在光标处新建变量 |
| var.insertTitle | Pone la variable en el cursor, o en lugar del texto seleccionado | Puts the variable at the cursor, or in place of the selected text | 在光标处放置变量,或替换所选文字 |
| var.fillNone | Escribe valores para rellenar | Type values to fill | 输入要填写的值 |
| var.fillOneField | Rellenar 1 variable en el documento | Fill 1 variable in the document | 填写文档中的 1 个变量 |
| var.fillFields | Rellenar {n} variables en el documento | Fill {n} variables in the document | 填写文档中的 {n} 个变量 |
| var.fillOne | Rellenar solo esta (Enter) | Fill only this one (Enter) | 只填写这一个(Enter) |
| var.intro | Los 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.other | Otros datos | Other data | 其他数据 |
| var.search | Buscar una variable | Find a variable | 查找变量 |
| var.blocks | Bloques | Blocks | 块 |
| var.blockText | Un texto dentro de un párrafo | Some text in a paragraph | 段落中的一段文字 |
| var.blockRow | Una fila de la tabla | A row of a table | 表格中的一行 |
| var.blockParagraphs | Los párrafos entre sus marcas | The paragraphs between its marks | 标记之间的段落 |
| var.blockInverted | se queda cuando el valor no está | kept when the value is not there | 没有值时保留 |
| var.blockUnset | Sin decidir | Not set | 未设置 |
| var.blockYes | Se queda | Kept | 保留 |
| var.blockNo | Se quita | Taken out | 删除 |
| var.blockList | Una vez por cada uno de los {n} de los datos | Once for each of the {n} in the data | 对数据中的 {n} 项各重复一次 |
| var.blockListOne | Una vez, por el único de los datos | Once, for the one in the data | 一次,对应数据中的一项 |
| var.blockHint | Para repetir un bloque, carga una lista con «Cargar datos…». | To repeat a block, load a list with “Load data…”. | 要重复一个块,请用“载入数据…”载入一个列表。 |
| var.noMatch | Ninguna variable tiene “{query}”. | No variable has “{query}”. | 没有包含“{query}”的变量。 |
| var.formats | Cómo se escribe | How it is written | 写法 |
| var.datePlaceholder | 12/10/2026 u hoy | 12/10/2026 or today | 2026-10-12 或 今天 |
| var.numberPlaceholder | 1250000 | 1250000 | 1250000 |
| var.load | Cargar datos… | Load data… | 载入数据… |
| var.loadTitle | Toma los valores de un archivo .json | Takes the values from a .json file | 从 .json 文件读取值 |
| var.badJson | El archivo no es un JSON válido. | The file is not valid JSON. | 该文件不是有效的 JSON。 |
| var.goTo | Ir a donde se usa | Go to where it is used | 转到使用位置 |
| var.value | Valor | Value | 值 |
| var.type | Tipo de dato | Data type | 数据类型 |
| var.case | Mayúsculas y minúsculas | Letter case | 大小写 |
| var.decimals | Decimales | Decimals | 小数位 |
| var.decimalsAuto | Decimales: los que traiga | Decimals: as given | 小数位:按原样 |
| var.currencyCode | Moneda: EUR, MXN… | Currency: EUR, MXN… | 货币:CNY、USD… |
| var.currencyTitle | El código de la moneda (EUR, MXN, USD), o cuántos decimales; vacío, con el signo de pesos | The code of the currency (EUR, MXN, USD), or how many decimals; empty, with a dollar sign | 货币代码(CNY、USD、EUR),或小数位数;留空则使用美元符号 |
| var.datePattern | Patrón: dd/MM/yyyy | Pattern: dd/MM/yyyy | 格式:yyyy-MM-dd |
| var.datePatternTitle | d, dd, dddd (el día de la semana), M, MM, MMM, MMMM, yy y yyyy se reemplazan; las demás palabras se quedan | d, dd, dddd (the day of the week), M, MM, MMM, MMMM, yy and yyyy are replaced; other words are kept | d、dd、dddd(星期几)、M、MM、MMM、MMMM、yy 和 yyyy 会被替换;其他文字保持不变 |
| var.notNumber | No es un número: se pondrá tal cual. | Not a number: it will be inserted as is. | 不是数字:将按原样插入。 |
| var.notDate | No 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日 或 今天):将按原样插入。 |
| insert | Insertar | Insert | 插入 |
| bubble.fit | Al {n} % del ancho del texto | At {n}% of the text width | 为文字宽度的 {n}% |
| bubble.toVariable | Convierte la selección en la variable {{{name}}} | Turns the selection into the variable {{{name}}} | 将所选内容变为变量 {{{name}}} |
| bubble.toVariableNo | Selecciona un nombre corto, sin signos, para hacerlo variable | Select a short name, without symbols, to make it a variable | 选择一个不含符号的短名称,才能将其变为变量 |
| bubble.style | Estilo {name} | Style {name} | 样式 {name} |
| bubble.label | Acciones para la selección | Actions for the selection | 所选内容的操作 |
| bubble.delete | Eliminar | Delete | 删除 |
| bubble.copy | Copiar | Copy | 复制 |
| bubble.cut | Cortar | Cut | 剪切 |
| bubble.paste | Pegar | Paste | 粘贴 |
| bubble.pastePlain | Pegar sin formato | Paste as text | 粘贴为纯文本 |
| bubble.selectAll | Seleccionar todo | Select all | 全选 |
| bubble.deleteTitle | Quita la imagen | Removes the image | 删除图片 |
| bubble.upper | MAYÚS | CAPS | 大写 |
| bubble.upperTitle | El valor, en mayúsculas | The value, in capitals | 值,全部大写 |
| bubble.capitalTitle | El valor, con mayúscula en cada palabra | The value, with each word capitalized | 值,每个单词首字母大写 |
| bubble.date | Fecha | Date | 日期 |
| bubble.dateTitle | El valor es una fecha: 12 de octubre de 2026 | The value is a date: 12 de octubre de 2026 | 值是日期:2026年10月12日 |
| bubble.currency | Moneda | Currency | 货币 |
| bubble.currencyTitle | El valor es un importe: $1,234.50 | The value is an amount: $1,234.50 | 值是金额:¥1,234.50 |
| bubble.highlight | Resaltar | Highlight | 突出显示 |
| bubble.highlightTitle | Resalta en amarillo | Highlights in yellow | 用黄色突出显示 |
| bubble.bullets | • Lista | • List | • 列表 |
| bubble.numbers | 1. Lista | 1. List | 1. 列表 |
| bubble.tableTitle | Inserta una tabla de 3 × 3 | Inserts a 3 × 3 table | 插入 3 × 3 表格 |
| bubble.signatures | Firmas | Signatures | 签名 |
| bubble.signaturesTitle | Inserta las firmas de asesor y cliente, una al lado de otra | Inserts the adviser and client signatures, side by side | 并排插入顾问和客户的签名 |
| bubble.image | Imagen | Image | 图片 |
| bubble.imageTitle | Inserta una imagen, o varias en cuadrícula | Inserts one image, or several in a grid | 插入一张图片,或将多张排成网格 |
| bubble.variableTitle | Inserta una variable de plantilla | Inserts a template variable | 插入模板变量 |
| bubble.pageBreak | Salto de página | Page break | 分页符 |
| insert.sectionNextPage | Salto de sección: página siguiente | Section break: next page | 分节符:下一页 |
| insert.sectionContinuous | Salto de sección: continuo | Section break: continuous | 分节符:连续 |
| bubble.pageBreakTitle | Lo que sigue pasa a la página siguiente | What follows moves to the next page | 后面的内容移到下一页 |
| bubble.addRow | + Fila | + Row | + 行 |
| bubble.addRowTitle | Inserta una fila debajo | Inserts a row below | 在下方插入一行 |
| bubble.addColumn | + Columna | + Column | + 列 |
| bubble.addColumnTitle | Inserta una columna a la derecha | Inserts a column to the right | 在右侧插入一列 |
| bubble.delRow | − Fila | − Row | − 行 |
| bubble.delRowTitle | Elimina la fila | Deletes the row | 删除该行 |
| bubble.delColumn | − Columna | − Column | − 列 |
| bubble.delColumnTitle | Elimina la columna | Deletes the column | 删除该列 |
| bubble.delTable | Eliminar tabla | Delete table | 删除表格 |
| bubble.delTableTitle | Elimina la tabla completa | Deletes the whole table | 删除整个表格 |
| bubble.split | Dividir | Split | 拆分 |
| bubble.splitTitle | Divide la celda combinada | Splits the merged cell | 拆分合并的单元格 |
| bubble.merge | Combinar | Merge | 合并 |
| bubble.mergeTitle | Combina las celdas seleccionadas | Merges the selected cells | 合并所选单元格 |
| bubble.noBorders | Sin bordes | No borders | 无边框 |
| bubble.borders | Con bordes | Borders | 边框 |
| bubble.noBordersTitle | Oculta los bordes de toda la tabla | Hides the borders of the whole table | 隐藏整个表格的边框 |
| bubble.bordersTitle | Muestra los bordes de toda la tabla | Shows the borders of the whole table | 显示整个表格的边框 |
| bubble.shade | Sombrear | Shade | 底纹 |
| bubble.shadeTitle | Pone o quita el fondo de las celdas | Adds or removes the background of the cells | 添加或删除单元格的背景 |
| bubble.cells | Celdas | Cells | 单元格 |
| bubble.paragraph | Párrafo | Paragraph | 段落 |
| bubble.namePlaceholder | nombre | name | 名称 |
| bubble.name | Nombre de la variable | Variable name | 变量名称 |
| grid.one | 1 imagen | 1 image | 1 张图片 |
| grid.many | {n} imágenes | {n} images | {n} 张图片 |
| grid.note | Cuadrícula de {across} × {rows}. Arrastra una imagen para cambiarla de sitio. | Grid of {across} × {rows}. Drag an image to move it. | {across} × {rows} 网格。拖动图片可移动它。 |
| grid.empty | No queda ninguna imagen. | No images left. | 没有剩余的图片。 |
| grid.removeName | Quitar {name} | Remove {name} | 删除 {name} |
| grid.title | Insertar imágenes en cuadrícula | Insert images in a grid | 以网格插入图片 |
| grid.columns | Columnas | Columns | 列数 |
| grid.more | Añadir más… | Add more… | 添加更多… |
| grid.remove | Quitar | Remove | 删除 |
| app.openFailed | No se pudo abrir el archivo: {error} | The file could not be opened: {error} | 无法打开文件:{error} |
| app.saveFailed | No se pudo guardar: {error} | The document could not be saved: {error} | 无法保存文档:{error} |
| app.wordDocument | Documento de Word | Word document | Word 文档 |
| note.anonymous | Anónimo | Anonymous | 匿名 |
| note.word | Nota | Note | 批注 |
| panel.notes | Notas | Notes | 批注 |
| note.placeholder | Nota para el texto seleccionado | Note for the selected text | 对所选文字的批注 |
| note.add | Añadir nota | Add note | 添加批注 |
| note.addTitle | Pone la nota en el texto seleccionado, o en la palabra del cursor | Puts the note on the selected text, or on the word at the cursor | 将批注添加到所选文字,或光标处的词语 |
| note.empty | Una 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.delete | Eliminar nota | Delete note | 删除批注 |
| note.deleteAll | Eliminar todas las notas | Delete all notes | 删除所有批注 |
| note.goTo | Ir al texto de la nota | Go to the text of the note | 转到批注的文字 |
| note.textOf | Texto de la nota | Text of the note | 批注内容 |
| note.author | Tu nombre | Your name | 你的姓名 |
| note.authorTitle | Con este nombre se firman las notas que añadas | The notes you add are signed with this name | 你添加的批注会署上这个名字 |
| bubble.noteTitle | Añade una nota al texto seleccionado | Adds a note to the selected text | 为所选文字添加批注 |
| bubble.notePlaceholder | Escribe la nota | Type the note | 输入批注 |
| note.color | Color de la nota | Note color | 批注颜色 |
| view.notes | Notas al margen | Notes in the margin | 在页边显示批注 |
| panel.history | Versiones | Versions | 版本 |
| history.empty | Aú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.none | Las versiones del documento aparecen aquí cuando la aplicación las guarda. | The versions of the document appear here when the application keeps them. | 当应用程序保存版本时,文档的版本会显示在这里。 |
| history.label | Nombre de la versión (opcional) | Name of the version (optional) | 版本名称(可选) |
| history.save | Guardar versión | Save version | 保存版本 |
| history.saveTitle | Guarda el documento tal como está ahora como una versión a la que volver | Keeps the document as it is now as a version to go back to | 将文档的当前状态保存为可返回的版本 |
| history.untitled | Versión sin nombre | Unnamed version | 未命名版本 |
| history.loading | Cargando las versiones… | Loading the versions… | 正在载入版本… |
| history.failed | No se pudieron leer las versiones: {error} | The versions could not be read: {error} | 无法读取版本:{error} |
| history.openFailed | No se pudo abrir esa versión: {error} | That version could not be opened: {error} | 无法打开该版本:{error} |
| history.saveFailed | No se pudo guardar la versión: {error} | The version could not be saved: {error} | 无法保存版本:{error} |
| history.compare | Ver cambios | See changes | 查看更改 |
| history.compareTitle | Muestra qué cambió desde esta versión hasta el documento actual | Shows what changed from this version to the document as it is now | 显示从此版本到当前文档的更改 |
| history.restore | Restaurar | Restore | 还原 |
| history.restoreTitle | Vuelve el documento a esta versión. Se puede deshacer | Takes the document back to this version. It can be undone | 将文档恢复到此版本。可以撤销 |
| history.restored | Versión restaurada. Deshacer ({undo}) lo deja como estaba. | Version restored. Undo ({undo}) leaves it as it was. | 已还原版本。撤销({undo})可恢复原样。 |
| history.current | El documento actual | The current document | 当前文档 |
| compare.title | Cambios | Changes | 更改 |
| compare.from | Desde | From | 从 |
| compare.to | Hasta | To | 到 |
| compare.changes | Con los cambios marcados | With the changes marked | 标记更改 |
| compare.plain | Sin marcar | Unmarked | 不标记 |
| compare.count | {n} cambios | {n} changes | {n} 处更改 |
| compare.one | 1 cambio | 1 change | 1 处更改 |
| compare.none | Sin cambios en el texto | No 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.prev | Cambio anterior | Previous change | 上一处更改 |
| compare.next | Cambio siguiente | Next change | 下一处更改 |
| compare.close | Cerrar | Close | 关闭 |
| compare.restore | Restaurar esta versión | Restore this version | 还原此版本 |
| compare.legend | Tachado 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.word | IA | AI | AI |
| assistant.off | Dejar 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.connecting | Buscando el servidor MCP de este equipo… Clic para dejar de buscar | Looking for the MCP server on this machine… Click to stop | 正在查找本机上的 MCP 服务器… 单击停止 |
| assistant.on | Un asistente de IA puede leer y cambiar este documento. Clic para desconectarlo | An AI assistant can read and change this document. Click to disconnect it | AI 助手可以读取和更改此文档。单击断开连接 |
| letterhead.set | Membrete… | Letterhead… | 信头… |
| letterhead.change | Cambiar el membrete… | Change the letterhead… | 更改信头… |
| letterhead.remove | Quitar el membrete | Remove the letterhead | 删除信头 |
| letterhead.save | Extraer el membrete | Extract the letterhead | 提取信头 |
| letterhead.name | membrete | letterhead | 信头 |
| letterhead.fit | Ajustar los márgenes al membrete | Fit the margins to the letterhead | 根据信头调整页边距 |
| letterhead.failed | Ese 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.word | Compartir | Share | 共享 |
| collab.someone | Alguien | Someone | 某人 |
| collab.off | Trabajar en este documento con otras personas a la vez | Work on this document with other people at the same time | 与其他人同时编辑此文档 |
| collab.connecting | Conectando con el servidor de colaboración… | Connecting to the collaboration server… | 正在连接协作服务器… |
| collab.on | Documento compartido. Clic para ver el enlace y quién está | Shared document. Click to see the link and who is here | 共享文档。单击查看链接和在线的人 |
| collab.offline | Sin conexión con el servidor. Lo que escribas se envía al volver | No connection to the server. What you type is sent when it is back | 未连接到服务器。恢复连接后会发送你输入的内容 |
| collab.link | Enlace para invitar | Link to invite | 邀请链接 |
| collab.copy | Copiar enlace | Copy link | 复制链接 |
| collab.copied | Copiado | Copied | 已复制 |
| collab.leave | Dejar de compartir aquí | Stop sharing here | 在此停止共享 |
| collab.name | Tu nombre | Your name | 你的姓名 |
| collab.you | tú | you | 你 |
| collab.alone | Nadie más por ahora | Nobody else for now | 目前没有其他人 |
| collab.people | Personas en el documento | People on the document | 文档中的人 |
| collab.failed | No se pudo compartir el documento: {error} | The document could not be shared: {error} | 无法共享文档:{error} |
| collab.noServer | No hay servidor de colaboración en {url}. | There is no collaboration server at {url}. | {url} 上没有协作服务器。 |
| collab.askToken | Palabra que pide el servidor para compartir | Word the server asks for to share | 服务器要求的共享口令 |
| collab.gone | Este 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.removed | Ya no tienes acceso a este documento compartido. | You no longer have access to this shared document. | 你已无权访问此共享文档。 |
| collab.outdated | Este 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.leaveToOpen | Abrir otro archivo deja de compartir este con los demás. ¿Continuar? | Opening another file stops sharing this one with the others. Continue? | 打开另一个文件会停止与他人共享此文件。是否继续? |
| insert.image | Imagen… | Image… | 图片… |
| insert.variable | Variable… | Variable… | 变量… |
| insert.note | Nota… | Note… | 批注… |
| insert.footnote | Nota al pie | Footnote | 脚注 |
| insert.endnote | Nota al final | Endnote | 尾注 |
| insert.textBox | Cuadro de texto | Text box | 文本框 |
| review | Revisar | Review | 审阅 |
| review.tools | Control de cambios: marcar lo que se escribe y se borra, y aceptarlo o rechazarlo | Track changes: mark what is typed and deleted, and accept or reject it | 修订:标记输入和删除的内容,并接受或拒绝 |
| review.track | Controlar cambios | Track changes | 修订 |
| review.accept | Aceptar el cambio | Accept change | 接受修订 |
| review.reject | Rechazar el cambio | Reject change | 拒绝修订 |
| review.next | Cambio siguiente | Next change | 下一处修订 |
| review.prev | Cambio anterior | Previous change | 上一处修订 |
| review.acceptAll | Aceptar todos los cambios | Accept all changes | 接受所有修订 |
| review.rejectAll | Rechazar todos los cambios | Reject all changes | 拒绝所有修订 |
| review.showAll | Mostrar los cambios | Show the changes | 显示修订 |
| review.showAccepted | Ver como quedaría, con todos aceptados | See it with all changes accepted | 查看接受所有修订后的样子 |
| review.showOriginal | Ver el original, sin los cambios | See the original, without the changes | 查看原始状态,不含修订 |
| panel.changes | Cambios | Changes | 修订 |
| changes.empty | No 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.inserted | Añadió | Added | 添加 |
| changes.deleted | Eliminó | Deleted | 删除 |
| changes.paragraph | un salto de párrafo | a paragraph break | 一个段落标记 |
| changes.accept | Aceptar | Accept | 接受 |
| changes.reject | Rechazar | Reject | 拒绝 |
| changes.goTo | Ir al cambio | Go to the change | 转到该修订 |
| changes.movedFrom | Movió a otro lugar | Moved away | 已移出 |
| changes.movedTo | Movió aquí | Moved here | 已移入 |
| changes.by | De | By | 作者 |
| changes.everyone | Todos | Everyone | 所有人 |
| changes.acceptBy | Aceptar los de {author} | Accept all by {author} | 接受 {author} 的所有修订 |
| changes.rejectBy | Rechazar los de {author} | Reject all by {author} | 拒绝 {author} 的所有修订 |
| changes.formatted | Cambió el formato de | Formatted | 已设置格式 |
| changes.rowInserted | Añadió una fila | Added a row | 添加了一行 |
| changes.rowDeleted | Eliminó una fila | Deleted a row | 删除了一行 |
| changes.list | la lista | list | 列表 |
| changes.spacing | el espaciado | spacing | 间距 |
| changes.indent | la sangría | indent | 缩进 |
| changes.layout | cómo se reparte en las páginas | page flow | 分页 |
| insert.pageNumber | Número de página… | Page number… | 页码… |
| wrap.inline | En línea | In line | 嵌入型 |
| wrap.inlineTitle | La imagen va en la línea, como una letra más | The picture goes in the line, like one more letter | 图片位于行中,就像一个字 |
| wrap.behind | Detrás del texto | Behind the text | 衬于文字下方 |
| wrap.behindTitle | La imagen va debajo del texto, que pasa por encima | The picture goes under the text, which runs over it | 图片位于文字下方,文字覆盖在上面 |
| page.firstDifferent | Primera página distinta | Different first page | 首页不同 |
| page.ownHeaders | Encabezado y pie propios de esta sección | Own header and footer for this section | 本节使用独立的页眉和页脚 |
| wrap.square | Texto alrededor | Wrap text | 四周型 |
| wrap.squareTitle | El texto rodea la imagen | The text goes round the picture | 文字环绕在图片四周 |
| wrap.topBottom | Arriba y abajo | Top and bottom | 上下型 |
| wrap.topBottomTitle | El texto queda encima y debajo de la imagen, no a los lados | The text stays above and below the picture, not beside it | 文字位于图片上方和下方,不在旁边 |
| wrap.none | Sobre el texto | Over the text | 浮于文字上方 |
| wrap.noneTitle | La imagen va encima del texto, que no se aparta | The picture goes over the text, which does not move | 图片位于文字上方,文字不移动 |
| insert.link | Enlace… | Link… | 链接… |
| link.word | Enlace | Link | 链接 |
| spell.word | Ortografía | Spelling | 拼写 |
| spell.looking | Buscando sugerencias… | Looking for suggestions… | 正在查找建议… |
| spell.none | Sin sugerencias | No suggestions | 没有建议 |
| spell.replace | Cambiar por «{word}» | Change to “{word}” | 改为“{word}” |
| spell.ignore | Omitir | Ignore | 忽略 |
| spell.ignoreTitle | Dejar esta palabra sin marcar en el documento | Leave this word unmarked in the document | 在此文档中不再标记这个词 |
| spell.add | Añadir al diccionario | Add to dictionary | 添加到词典 |
| spell.addTitle | Tomar esta palabra como bien escrita de ahora en adelante | Take this word as spelled right from now on | 从现在起将这个词视为拼写正确 |
| link.title | Convierte el texto en un enlace ({key}K) | Turns the text into a link ({key}K) | 将文字变为链接({key}K) |
| link.address | Dirección del enlace | Address of the link | 链接地址 |
| link.placeholder | Pega o escribe una dirección: ejemplo.com | Paste or type an address: example.com | 粘贴或输入地址:example.com |
| link.apply | Enlazar | Link | 链接 |
| link.save | Guardar | Save | 保存 |
| link.open | Abrir | Open | 打开 |
| link.openTitle | Abre el enlace en otra pestaña | Opens the link in another tab | 在新标签页中打开链接 |
| link.edit | Cambiar | Change | 更改 |
| link.editTitle | Cambia la dirección del enlace | Changes the address of the link | 更改链接地址 |
| link.remove | Quitar enlace | Remove link | 删除链接 |
| link.removeTitle | Quita el enlace y deja el texto | Removes the link and keeps the text | 删除链接并保留文字 |
| link.follow | {key} + clic para abrir | {key} + click to open | 按住 {key} 并单击以打开 |
| toolbar.tableOff | pon el cursor dentro de una tabla | put the cursor inside a table | 将光标放在表格中 |
| toolbar.insertTools | Insertar tabla, imagen, enlace, firmas, variable, nota o índice | Insert a table, picture, link, signatures, variable, note or table of contents | 插入表格、图片、链接、签名、变量、批注或目录 |
| toolbar.align | Alineación | Alignment | 对齐方式 |
| toolbar.tableTools | Tabla: filas, columnas y celdas | Table: rows, columns and cells | 表格:行、列和单元格 |
| toolbar.pageTools | Encabezado, pie y número de página | Header, footer and page number | 页眉、页脚和页码 |
| toolbar.columns | Columnas: el texto en una, dos o tres | Columns: the text in one, two or three | 分栏:文字分为一栏、两栏或三栏 |
| toolbar.unsaved | cambios sin guardar | unsaved changes | 有未保存的更改 |
| toc.title | Índice | Contents | 目录 |
| toc.insert | Índice | Table of contents | 目录 |
| toc.insertTitle | Inserta un índice con los títulos del documento y la página de cada uno | Inserts a table of contents with the headings of the document and the page of each | 插入包含文档各标题及其页码的目录 |
| toc.insertHere | Insertar índice en el cursor | Insert table of contents at the cursor | 在光标处插入目录 |
| toc.update | Actualizar índice | Update table of contents | 更新目录 |
| toc.updated | Índice al día | Table of contents is up to date | 目录已是最新 |
| toc.empty | Aú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.note | El índice se actualiza solo al guardar, exportar o imprimir. | The table of contents is brought up to date on saving, exporting or printing. | 保存、导出或打印时会更新目录。 |
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
.affand a.dicfor 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:esserveses-MXtoo. 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)andsuggest(word, language), each answering at once or with a promise, andaddif it takes new words. Grammar is not checked.
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.