Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Starting the WebSpellChecker Server version 5from v5.17.0, we enabled by default the 25 most popular languages and added the option to enable other languages via the AppServerX.xml file. To enable non-default language for the WebSpellChecker Server, you need to perform the steps described in this guide.

...

the server-based (on-premises) package is shipped with all the Supported languages built-in. For more convenience, the most popular languages are provided in the enabled by default state. The rest ones are in the disabled/inactive state. 

It is very easy to activate the disabled language. To do so, please follow the steps below. The same procedure can be used for disabling unnecessary languages.

Note

If you use the version before v5.17.0 and you need a language that is not available in your package, the only option to proceed is to upgrade to the latest available version. Custom builds are no longer provided.

1. Locate and open the AppServerX.xml configuration file for editing. By default, the file is located in: <Installation_Path>/

...

AppServer/AppServerX.xml.

Before making any changes to the AppServerX.xml file, it is recommended to

...

stop AppServer.

2. Find a block with the needed language

...

by language name or its short code. For example, the Czech language:

Code Block
languagejs
themeEmacs
<Language Id="cs_CZ" Enabled="false">
	<!-- Czech (Czech Republic) -->
	<Alias>cs</Alias>
	<SpellEngineOptions>
		<SpellCheckProvider>enchant</SpellCheckProvider>
	</SpellEngineOptions>
</Language>

...

3. Change the value for Enabled state from false to true

4. Save the updated version of the AppServerX.xml file and start AppServer to apply changes.

5. You can validate the list of the enabled languages using get_info API command. For example: https://

...

localhost/wscservice/api?cmd=get_info

...

Tip

If you run WebSpellChecker on Docker, you can create

...

an updated image from a modified Docker container to use it further.