Skip to content

Commit 542e9cb

Browse files
jsparkdevtrueberrylessArmandPhilippot
authored
fix(astro-i18n): update wrong locale code (#12677)
Co-authored-by: trueberryless <[email protected]> Co-authored-by: Armand Philippot <[email protected]>
1 parent 5173ef8 commit 542e9cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/en/reference/modules/astro-i18n.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ Replaces underscores (`_`) with hyphens (`-`) in the given locale before returni
356356
import { normalizeTheLocale } from "astro:i18n";
357357
358358
normalizeTheLocale("it_VT") // returns `it-vt`
359-
// Assuming the current locale is `"pt-PR"`:
359+
// Assuming the current locale is `"pt-PT"`:
360360
normalizeTheLocale(Astro.currentLocale) // returns `pt-pt`
361361
---
362362
```

0 commit comments

Comments
 (0)