CKEditor 5 translation tools
Tools for managing CKEditor 5 translation files.
More information about development tools packages can be found at the following URL: https://github.com/ckeditor/ckeditor5-dev.
Usage
The package exposes the following functions:
findMessages()— parses a source file and finds messages to be localized, that is calls of thet()function.synchronizeTranslations()— asynchronously synchronizes generated TypeScript translation files with translation contexts (contexts.jsonfiles) in the given packages: it creates missing translation files, adds missing entries, and removes unused ones.moveTranslations()— asynchronously moves the requested translations and contexts between packages.readTranslationFile()— asynchronously reads a generated TypeScript translation file.serializeTranslationFile()— serializes a translation dictionary as a generated TypeScript translation file.
You can read more about localizing the editor in the Setting the UI language guide.
Changelog
See the CHANGELOG.md file.
License
Licensed under the terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md file.