> For the complete documentation index, see [llms.txt](https://docs.wproofreader.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wproofreader.com/v6.12.0/integrations/how-tos/how-to-initialize-wproofreader-in-several-text-fields-with-different-languages.md).

# How to initialize WProofreader in several text fields with different languages?

There is an option to start WProofreader in different text fields with different predefined settings, like a language. It can be archived with the **setLang** method.

1\. Initialize WProofreader using the **init() method** if you clearly know in which field you want to initialize WProofreader which provides additional management options.

2\. Specify the appropriate language **shortcode** in the **setLang** in **WEBSPELLCHECKER.init.** For example, using it in combination with the [**getInstances()**](https://webspellchecker.com/docs/api/wscbundle/WEBSPELLCHECKER.html#.getInstances) method.

```javascript
WEBSPELLCHECKER.getInstances()[0].setLang('NEW_LANGUAGE_CODE')
```

3\. Also, it's recommended to disable synchronizing of languages between all the created WProofreader instances. It's enabled by default. To disable it using **syncOptions** in **WEBSPELLCHECKER\_CONFIG** as shown below. Please note that this option also handles synchronization of the spell check ignore options.

```javascript
syncOptions: false,
```

4\. If needed, disable storing of the user-selected language between browser sessions using **disableOptionsStorage** in **WEBSPELLCHECKER\_CONFIG**.

If it's not done, the user-selected language will be saved in the browser local storage until it's cleared and the predefined options will be of no effect.

```javascript
disableOptionsStorage: [lang],
```
