orta / danger-plugin-spellcheck

Spell checks any created or modified code or markdown files in a GitHub PR
MIT License
26 stars 16 forks source link

Other languages support #27

Open renanmav opened 4 years ago

renanmav commented 4 years ago

Hi guys,

First of all, congrats, that’s a great plugin.

I’m brazilian and we, brazilians, speak Portuguese. I tried to use this plugin on my codebase (which has a lot of Portuguese phrases) and danger was detecting it as miss spell words.

I saw that you use cspell under the hood. Is that any support for other languages rather than English?

orta commented 4 years ago

I'd be open to a PR adding support for any language in https://github.com/streetsidesoftware/vscode-cspell-dict-extensions 👍🏻

renanmav commented 4 years ago

Sorry, but the PR would be addressed to this repo or vscode-cspell-dict-extensions?

orta commented 4 years ago

This repo would probably need an API so you can pass in one of those dictionaries

renanmav commented 4 years ago

I guess the API can be something like this:

spellcheck({ dict: "pt_BR" })

And we would use these dicts.