Skip to content

Conversation

ArmandPhilippot
Copy link
Member

Description (required)

The i18nNoLocaleFoundInPath error suggests to use the pathHasLocale helper... but I couldn't find it in the docs. Actually we're missing a few utilities in the astro:i18n reference.

Adds documentation for:

I'm not quite sure about the use cases, so I added examples based on the getPathByLocale() one.

Related issues & labels (optional)

  • Suggested label: add new content

@ArmandPhilippot ArmandPhilippot added the add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. label Sep 4, 2025
Copy link

netlify bot commented Sep 4, 2025

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 823a014
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/68b9a6db8725f5000818bc95
😎 Deploy Preview https://deploy-preview-12264--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.

@sarah11918
Copy link
Member

Thank you so much, @ArmandPhilippot ! I'm going to ask @ematipico to review this, make sure everything here should be in docs etc. before I look too closely! 🙌

@sarah11918
Copy link
Member

Noting that Ema is on a few weeks of holidays right now, so we'll get around to this one, eventually! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add new content Document something that is not in docs. May require testing, confirmation, or affect other pages.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants