You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

You can set up the different default languages for your editable elements (instances) on the same page using the init() WProofreader initialization by using the lang and syncOptions parameters:

  1. Initialize WProofreader using the init() method when you clearly know in which control you want to initialize WProofreader that provides additional management options.
  2. Disable synchronizing the language values between all the created WProofreader instances using the syncOptions parameter:
syncOptions: false,



using the lang parameter if you definitely know which language do you want to use on the page? Also, you can disable storing of WEBSPELLCHECKER options such as language between browser sessions: disableOptionsStorage: [lang]. Moreover, you can disable synchronizing all ignore options and language between all created WProofreader instances using the syncOptions parameter.