Skip to content

Conversation

@jsparkdev
Copy link
Member

Description (required)

The locale code pt-PR does not seem to exist.

Based on my findings, the locales pt-PT and pt-BR exist, and given that the return value of the normalizeTheLocale function is pt-pt, it is assumed that pt-PR is a typo for pt-PT, and thus it is corrected.

Related issues & labels (optional)

  • Closes #
  • Suggested label:

@netlify
Copy link

netlify bot commented Nov 6, 2025

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 5d51ae6
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/690c2754751faf0008ca9308
😎 Deploy Preview https://deploy-preview-12677--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@astrobot-houston
Copy link
Contributor

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/reference/modules/astro-i18n.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Copy link
Contributor

@trueberryless trueberryless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, I think pt-PR was an unintended mix of BR and PT. It's not a valid BCP 47 language tag.

Copy link
Member

@ArmandPhilippot ArmandPhilippot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed this was a typo, nice catch! 🙌🏽

@ArmandPhilippot ArmandPhilippot merged commit 542e9cb into withastro:main Nov 6, 2025
11 checks passed
@ArmandPhilippot ArmandPhilippot added the typo/link/grammar - quick fix! Quick fix for a link, typo, grammar/syntax error etc. Doesn't significantly change meaning of text. label Nov 6, 2025
@jsparkdev jsparkdev deleted the i18n-fix branch November 6, 2025 11:26
ArmandPhilippot added a commit to ArmandPhilippot/astro-docs that referenced this pull request Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

typo/link/grammar - quick fix! Quick fix for a link, typo, grammar/syntax error etc. Doesn't significantly change meaning of text.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants