Custom Spellchecker Module
This module allows you to add custom spellcheckers to verify translations against specific rules that are not supported by default.
Each language can be assigned to only one active spellchecker. When using multiple custom spellcheckers, languages selected for a specific spellchecker are automatically unassigned from all other spellcheckers. Languages not assigned to any of the custom spellcheckers will be processed by the default Crowdin spellchecker.
Access
You can grant access to this module to one of the following user categories:
- Only organization admins
- All users in the organization projects
- Selected users
Structure
Properties
key | Type: Required: yes Description: Module identifier within the Crowdin app. |
name | Type: Required: yes Description: The human-readable name of the module. |
description | Type: Description: The human-readable description of what the module does. |
checkSpellingUrl | Type: Required: yes Description: The relative URL triggered when sending texts for spell checking. |
listSupportedLanguagesUrl | Type: Required: yes Description: The relative URL triggered when retrieving the list of languages supported by the module. |
url | Type: Required: yes Description: The relative URL to the module setup page. |
environments | Type: Allowed values: Description: Set of environments where a module could be installed. |
Communication between Custom Spellchecker App and Crowdin
The system sends texts for spell checking using checkSpellingUrl
either from the Editor during translation or when the QA Checks validate translations. The app then processes the texts and responds back to the system with one of the two possible types of responses: without spelling issues, and with spelling issues. There are cases when the system needs to check the languages supported by the module (e.g., when configuring languages for Custom Spellchecker in the Organization Settings). In these cases, Crowdin sends a request to the app using listSupportedLanguagesUrl
and the app responds with the data about the languages it supports.
Request to the App from Crowdin for checkSpellingUrl
Request payload example:
Expected Response from the App (Without spelling issues)
Response payload example:
Expected Response from the App (With spelling issues)
Response payload example:
Expected category types:
typography
casing
grammar
typos
spelling
punctuation
confused_words
redundancy
style
gender_neutrality
semantics
colloquialisms
wikipedia
barbarism
misc
Response from the App to Crowdin for listSupportedLanguagesUrl
Response payload example:
The structure of the responses from the app should correspond to the presented examples, otherwise Crowdin will consider them invalid.
Languages that are not available in the organization won’t be displayed in the module’s language list. To display such languages, add them as custom languages.
Read more about Custom Languages.