languagetool icon indicating copy to clipboard operation
languagetool copied to clipboard

Use smart quotes for all languages

Open marcoagpinto opened this issue 2 years ago • 1 comments

Hi!

I have been using the browser add-on for English and Portuguese.

While using English, it shows an option to change all quotes in the text.

But, in Portuguese, that doesn't seem to happen.

Could it be extended to all languages?

Thanks!

marcoagpinto avatar Aug 12 '22 10:08 marcoagpinto

Wikipedia's "Quotation Marks" > Summary Table is fantastic, showing all:

  • open/close
  • inner/outer

quotes for all languages + their acceptable alternates.


For example, British English prefers:

  • ‘outer’ + “inner”
  • single / double

but accepts:

  • “outer” + ‘inner’
  • double / single

as an alternate, where US English only accepts the 2nd version.


There should probably be a separate settings page where users could select which sets of quotes they prefer.

For example, one "dialogue checking" plugin I use has:

Quotation Mark Settings

I think a settings page like that would cover nearly all use-cases. :)

So even if you were in English (or Portuguese), you would be able to override the language's default quotes if needed.

Tex2002ans avatar Aug 14 '22 02:08 Tex2002ans

Hello, after 5 months still no development.

Take a look at how it works in English GB: smart_quotes_lt_20230101

Could this exactly code be used for Portuguese?

It is very “painful” to be fixing quote by quote manually.

Thanks!

marcoagpinto avatar Jan 01 '23 10:01 marcoagpinto