typograph-editor-documentation
    Preparing search index...

    Release Notes - Version 1.0.0-20261030

    The editor in Dutch: a language option, and the menus, toolbar, panels, dialogs and comments in the user's language.

    • A locale option. The editor and the viewer show their own texts in English or Dutch:

      new Typograph.Editor({ container: '#app', locale: 'nl' });   // 'en' or 'nl'; 'nl-NL' counts as 'nl'
      

      A page that lets the editor mount itself sets the language on <html> before editor.js loads, as it does the theme: <html data-typograph-locale="nl">. The option wins over the attribute. gEditorUI.get_locale() answers the language in force. See Embedding, "The language".

    • Nothing changes for a host that sets neither. The editor stays English, and so does every text that has no Dutch translation yet. The document's own text is never translated, and menu items keep the ids hosts address them by.

    • The menus in Dutch. The menu bar the editor builds, every menu under it and the content bar's tooltips show in the chosen language. A host's own menu bar markup keeps the texts the host wrote; menu item ids stay English (see MenuAPI, "Item IDs").
    • The toolbar's tooltips in Dutch, title and description.
    • The toolbar, the parameter bar and the content bar's panels in Dutch. The toolbar's controls and their popups, every section of the parameter bar (labels, options, lock buttons) and the panels on the left show in the chosen language. Font names, paragraph styles and swatches stay as the document names them.
    • The dialogs in Dutch. Find and replace, preferences, swatches, gradients, the colour picker, Save as, the font manager and the editor's other dialogs, OK and Cancel included.
    • The role panel in Dutch. The role section of the parameter bar, the role dialog and the sentences that sum up what a role may do; the built-in roles show their Dutch name, a role a designer named keeps its name.
    • The comments in Dutch. The comments panel, its pins, the filter and the composer show in the chosen language.
    • Comment dates in the user's language and time zone. "2 hours ago" is written in the language, and the full date and time on hover reads as the portal writes it ("October 29, 2026 at 2:05 PM", "29 oktober 2026 om 14:05"), in Europe/Amsterdam time. Before, both followed the browser's language and time zone.
    • TYP-1287: src/core/i18n.ts holds t(), tx(), the locale and format_date(); src/i18n/nl.ts the Dutch catalogue, keyed by the English text as it is shown. Translate where a text is shown, never where it is an identifier: menu ids stay the English titles.
    • Still English: the canvas's own controls (the zoom control, the spelling menu), icon titles in the toolbar's SVGs, and the legacy dialogs that the portal does not open (document manager, manage template, page element, font sample). portal-ui sets data-typograph-locale from the page's language.