Support Spanish and other languages in cspell
So I set "language": "en,es" in my .cspell.json file and everything is alright in VSCode, later I also tried:
"languageSettings": [
{
"languageId": "*",
"locale": "en,es",
}
]
But Megalinter's cspell doesn't have the Spanish dictionary.
I couldn't find how to add it, so maybe this is a documentation enhancement request in that case.
Otherwise please consider to include https://github.com/streetsidesoftware/vscode-cspell-dict-extensions or an easy way to add it by pipeline users.
Thanks!!!
@ivanbaldo please can you try the following ?
PRE_COMMANDS:
- command: npm install -D @cspell/dict-es-es ## if it does not work, try npm install -g @cspell/dict-es-es
cwd: root
run_before_linters: True # Will be run before the execution of the linters themselves; required for npm/pip commands that cannot be run in parallel
Then in your .cspell.json:
{
"import": ["@cspell/dict-es-es/cspell-ext.json"],
"language": "es, es_ES",
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.