You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Canadian French language keeps giving errors saying exclamation and question marks should be preceded by a fine space. This is correct in France, but this space, while also accepted and optional, is very uncommon and mostly ommited in Canadian French.
L’Office québécois de la langue française opte pour l’absence d’espace devant le point-virgule, le point d’exclamation et le point d’interrogation. Cette dernière pratique, qui est répandue dans l’usage, tend à devenir une convention, notamment en raison des limites de certains logiciels qui ne comportent pas l’espace fine (espace insécable réduite). Cela dit, si l’on dispose de l’espace fine, son emploi demeure convenable.
which translates to:
The Office québécois de la langue française opts for the absence of spaces before semicolons, exclamation marks and question marks. This latter practice, which is widespread in usage, is tending to become a convention, not least because of the limitations of certain software programs that don't include the fine space (reduced non-breaking space). That said, if the fine space is available, its use remains appropriate.
Thank for the suggestion. I'm unfortunately having some issues running the code locally and Java is not a language I'm familiar with. So the pull request might have to be made by someone else after all.
The Canadian French language keeps giving errors saying exclamation and question marks should be preceded by a fine space. This is correct in France, but this space, while also accepted and optional, is very uncommon and mostly ommited in Canadian French.
The official documentation of the Office Québécois de la langue française says :
which translates to:
I'd gladly send a pull request, but can't figure where the conditions for the various languages are in the relevant file, which I think is this one: https://github.com/languagetool-org/languagetool/blob/master/languagetool-language-modules/fr/src/main/java/org/languagetool/rules/fr/QuestionWhitespaceRule.java
Let me know if you need any help, thanks!
The text was updated successfully, but these errors were encountered: