Skip to content

Commit 1b9b5e4

Browse files
tdhockToby Dylan Hockingcderv
authored
add lang fr-CA (#14014)
* add lang fr-CA * Add smoke-all test for fr-CA language variant (#14014) * Add to changelog --------- Co-authored-by: Toby Dylan Hocking <toby.dylan.hocking@usherbrooke.ca> Co-authored-by: Christophe Dervieux <christophe.dervieux@gmail.com>
1 parent 3a19f1e commit 1b9b5e4

3 files changed

Lines changed: 19 additions & 0 deletions

File tree

news/changelog-1.9.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,4 @@ All changes included in 1.9:
176176
- ([#13992](https://github.com/quarto-dev/quarto-cli/issues/13992)): Fix crash when rendering div with both cross-reference ID and conditional visibility to PDF.
177177
- ([#13997](https://github.com/quarto-dev/quarto-cli/issues/13997)): Fix Windows dart-sass theme compilation failing when Quarto is installed in a path with spaces (e.g., `C:\Program Files\`) and the project path also contains spaces.
178178
- ([#13998](https://github.com/quarto-dev/quarto-cli/issues/13998)): Fix YAML validation error with CR-only line terminators (old Mac format). Documents using `\r` line endings no longer fail with "Expected YAML front matter to contain at least 2 lines".
179+
- ([#14012](https://github.com/quarto-dev/quarto-cli/issues/14012)): Add `fr-CA` language translation for Quebec French inclusive writing conventions, using parenthetical forms instead of middle dots for author labels. (author: @tdhock)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
title-block-author-single: "Auteur(-trice)"
2+
title-block-author-plural: "Auteures(-trices)"
3+
listing-page-field-author: "Auteur(-trice)"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "French Canadian language variant"
3+
lang: fr-CA
4+
author: Jean Tremblay
5+
date: 2026-02-11
6+
format: html
7+
_quarto:
8+
tests:
9+
html:
10+
ensureFileRegexMatches:
11+
- ['Auteur\(-trice\)', 'Date de publication']
12+
- ['Auteur·rice']
13+
---
14+
15+
Content to verify `lang: fr-CA` applies regional French translations, while still using main `lang: fr` translation.

0 commit comments

Comments
 (0)