Hello, thanks for reaching out to us, the mrk(market) code is the most important parameter.
Bing Spell Check API does support spell checking for Spanish variants including es-ES (Spanish for Spain) and es-US (Spanish for United States), among others. The confusion arises from the documentation mentioning only "es" in the supported language list but providing separate market codes for different variants like es-ES and es-US.
- Supported Languages: The API documentation might list "es" as the supported language, but this generally encompasses multiple variants of Spanish, including those specific to different regions (like es-ES and es-US).
- Market Codes: Market codes such as es-ES and es-US are used to specify regional variations in the spell checking behavior. This helps Bing route the request correctly and tailor the response based on regional language norms and preferences.
- Spell Check Models: While the documentation may not explicitly list each regional variant separately in the supported languages section, Bing likely uses distinct models or configurations for different variants such as es-ES and es-US. This ensures that spell checking is optimized for regional differences in spelling conventions and vocabulary.
If you set the mrk code correct, your code should help you specify different variants of Spanish.
I hope this helps! Let us know if you have any other questions.
Regards,
Yutong
-Please kindly accept the answer if you feel helpful to support the community, thanks a lot.