Skip to content

i18n(fr): update guides#180

Merged
dreyfus92 merged 3 commits into
withstudiocms:mainfrom
ArmandPhilippot:i18n/fr-update-guides
Dec 20, 2025
Merged

i18n(fr): update guides#180
dreyfus92 merged 3 commits into
withstudiocms:mainfrom
ArmandPhilippot:i18n/fr-update-guides

Conversation

@ArmandPhilippot
Copy link
Copy Markdown
Member

@ArmandPhilippot ArmandPhilippot commented Dec 19, 2025

Description

Adds changes from #177 to the French translations of guides (except version-guides/0-1-0-beta-30 updated in #178) and starlight-sidebar/fr.json.

I choose to not translate "frontend" to match what we do in the French version of Astro Docs: https://github.com/withastro/docs/blob/main/i18n-guides/fran%C3%A7ais.md#autres-mots-non-traduits

Summary by CodeRabbit

  • Documentation
    • Updated French translation documentation with corrected directory references and added status badge.
    • Expanded custom frontend rendering guide with new "Further Reading" section and linked resources.
    • Added "Custom Frontend Guides" subsection to main guides index.
    • Reorganized upgrade guide sidebar entries and updated documentation metadata for improved navigation structure.

✏️ Tip: You can customize this high-level summary in your review settings.

@ArmandPhilippot ArmandPhilippot requested a review from a team as a code owner December 19, 2025 18:49
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Dec 19, 2025

📝 Walkthrough

Walkthrough

Updates French documentation with path references, adds custom frontend rendering guide resources, introduces guides subsection to documentation index, applies topic categorization across version upgrade guides, hides older beta versions from sidebar, and adds French translation for custom frontends sidebar label.

Changes

Cohort / File(s) Summary
French Guides Documentation
src/content/docs/fr/guides/contributing/translations.mdx, src/content/docs/fr/guides/custom-frontend/rendering.mdx, src/content/docs/fr/guides/index.mdx
Updates translations guide with new directory path reference and success badge; enhances rendering documentation with ReadMore component and supplementary readings section linking to renderers extension; adds new "Guides des frontends personnalisés" subsection to main guides index.
Version Upgrade Guides Frontmatter
src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-{16..29}.mdx
Adds topic: guides field to all version guide frontmatter; replaces sidebar order property (ranging from 999999 down to 999983) with hidden: true to remove guides from sidebar navigation.
Sidebar Translations
src/starlight-sidebar/fr.json
Adds new translation key "custom-frontend": "Frontends personnalisés" for sidebar navigation.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Repetitive metadata pattern applied consistently across 14 version guide files
  • Straightforward documentation content updates with minimal complexity
  • Single JSON translation key addition is trivial
  • No logic changes or functional modifications

Possibly related PRs

Suggested labels

i18n, documentation

Suggested reviewers

  • dreyfus92
  • louisescher

Poem

🐰 A carrot patch of guides grows bright,
French docs now organized just right—
Frontends personal, badges gleam,
Version guides hidden (as you'd dream),
Translations flow from here to there! 🌟

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title 'i18n(fr): update guides' clearly summarizes the main change: updating French translations for the guides section and related documentation.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@studiocms-no-reply
Copy link
Copy Markdown
Member

studiocms-no-reply commented Dec 19, 2025

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
fr/guides/contributing/translations.mdx Localization changed, will be marked as complete.
fr/guides/custom-frontend/rendering.mdx Localization added, will be marked as complete.
fr/guides/index.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-16.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-17.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-18.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-20.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-21.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-22.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-23.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-24.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-25.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-26.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-27.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-28.mdx Localization changed, will be marked as complete.
fr/guides/upgrade/version-guides/0-1-0-beta-29.mdx Localization changed, will be marked as complete.
src/starlight-sidebar/fr.json Localization changed, will be marked as complete.
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
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
src/content/docs/fr/guides/custom-frontend/rendering.mdx (1)

12-12: Optional: Consider minor typographical and style improvements.

Static analysis detected two minor issues:

  1. A typographical apostrophe character that could be corrected
  2. A long sentence that could be split for improved readability

These don't impact functionality but could enhance the reading experience.

Based on learnings, improving readability during translation is acceptable when the technical meaning is preserved.

📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e5e0e4f and 5a3b464.

📒 Files selected for processing (18)
  • src/content/docs/fr/guides/contributing/translations.mdx (2 hunks)
  • src/content/docs/fr/guides/custom-frontend/rendering.mdx (2 hunks)
  • src/content/docs/fr/guides/index.mdx (1 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-16.mdx (1 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-17.mdx (1 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-18.mdx (1 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx (1 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-20.mdx (1 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-21.mdx (1 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-22.mdx (1 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-23.mdx (1 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-24.mdx (1 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-25.mdx (1 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-26.mdx (1 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-27.mdx (1 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-28.mdx (1 hunks)
  • src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-29.mdx (1 hunks)
  • src/starlight-sidebar/fr.json (1 hunks)
🧰 Additional context used
🧠 Learnings (4)
📓 Common learnings
Learnt from: ArmandPhilippot
Repo: withstudiocms/docs PR: 149
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-21.mdx:13-15
Timestamp: 2025-07-24T11:57:15.225Z
Learning: In the withstudiocms/docs repository, when reviewing French translation files, maintain consistency with the English version even if it means keeping unused imports. Structural parity between language versions is prioritized over removing unused code.
Learnt from: ArmandPhilippot
Repo: withstudiocms/docs PR: 149
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-20.mdx:18-18
Timestamp: 2025-07-24T12:00:35.014Z
Learning: In the withstudiocms/docs repository, while translations should maintain structural parity with English versions, improving readability during translation is acceptable when the original text has clear redundancy or readability issues that would also impact the translation quality. The maintainer ArmandPhilippot confirmed this approach is reasonable when the technical meaning is preserved.
Learnt from: ArmandPhilippot
Repo: withstudiocms/docs PR: 130
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-17.mdx:1-11
Timestamp: 2025-04-26T12:29:17.995Z
Learning: When reviewing translations in the withstudiocms/docs repository, compare with the corresponding English version as the source of truth, not with other files in the same target language. French translations should maintain structural parity with their English counterparts.
Learnt from: ArmandPhilippot
Repo: withstudiocms/docs PR: 140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.
📚 Learning: 2025-07-24T11:57:15.225Z
Learnt from: ArmandPhilippot
Repo: withstudiocms/docs PR: 149
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-21.mdx:13-15
Timestamp: 2025-07-24T11:57:15.225Z
Learning: In the withstudiocms/docs repository, when reviewing French translation files, maintain consistency with the English version even if it means keeping unused imports. Structural parity between language versions is prioritized over removing unused code.

Applied to files:

  • src/content/docs/fr/guides/contributing/translations.mdx
📚 Learning: 2025-04-26T12:29:17.995Z
Learnt from: ArmandPhilippot
Repo: withstudiocms/docs PR: 130
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-17.mdx:1-11
Timestamp: 2025-04-26T12:29:17.995Z
Learning: When reviewing translations in the withstudiocms/docs repository, compare with the corresponding English version as the source of truth, not with other files in the same target language. French translations should maintain structural parity with their English counterparts.

Applied to files:

  • src/content/docs/fr/guides/contributing/translations.mdx
📚 Learning: 2025-07-24T12:00:35.014Z
Learnt from: ArmandPhilippot
Repo: withstudiocms/docs PR: 149
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-20.mdx:18-18
Timestamp: 2025-07-24T12:00:35.014Z
Learning: In the withstudiocms/docs repository, while translations should maintain structural parity with English versions, improving readability during translation is acceptable when the original text has clear redundancy or readability issues that would also impact the translation quality. The maintainer ArmandPhilippot confirmed this approach is reasonable when the technical meaning is preserved.

Applied to files:

  • src/content/docs/fr/guides/contributing/translations.mdx
  • src/content/docs/fr/guides/custom-frontend/rendering.mdx
🪛 LanguageTool
src/content/docs/fr/guides/index.mdx

[typographical] ~20-~20: Ce signe est un trait d’union, il ne sert qu’à former des mots composés. Employez un tiret ou un autre signe de ponctuation plus approprié.
Context: ...tends personnalisés - Rendu du contenu - Options pour le rendu du contenu sur un fronten...

(TIRET)

src/content/docs/fr/guides/contributing/translations.mdx

[style] ~35-~35: L’adverbe précède le verbe à l’infinitif.
Context: ...s le tableau de bord. Si vous préférez contribuer directement aux traductions dans le dépôt, les trad...

(PLACE_DE_L_ADVERBE)


[typographical] ~35-~35: Caractère d’apostrophe incorrect.
Context: ...aductions sont stockées dans le dossier [`packages/studiocms/src/virtuals/i18n/tra...

(APOS_INCORRECT)


[typographical] ~35-~35: Caractère d’apostrophe incorrect.
Context: ... traductions en anglais dans le fichier [en.json](https://github.com/withstudioc...

(APOS_INCORRECT)

src/content/docs/fr/guides/custom-frontend/rendering.mdx

[typographical] ~12-~12: Caractère d’apostrophe incorrect.
Context: ...ge comme nous le faisons avec le plugin @studiocms/blog. Un plugin de création de pages, par ex...

(APOS_INCORRECT)


[style] ~12-~12: Une phrase longue peut apporter une perte de sens pour le lecteur. Celle-ci peut donc être divisée afin d’apporter de la clarté et du rythme.
Context: ...t être fourni sans mise en page standard, parce qu’il vise plutôt à ce que vous conceviez l...

(POINT_MAIS)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Run Starlight Link Check
  • GitHub Check: build-and-push
🔇 Additional comments (23)
src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-16.mdx (1)

5-8: LGTM! Metadata updates are consistent.

The addition of topic: guides and the sidebar visibility change from order to hidden: true align with the PR's objectives to update French translations with changes from PR #177.

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-27.mdx (1)

5-5: LGTM! Metadata addition is consistent.

The addition of topic: guides correctly categorizes this upgrade guide. The sidebar visibility remains unchanged, which is appropriate for this more recent beta version.

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx (1)

5-8: LGTM! Metadata updates are consistent.

The addition of topic: guides and the sidebar visibility change to hidden: true are consistent with the pattern of hiding older beta version guides from navigation while keeping them accessible.

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-25.mdx (1)

5-5: LGTM! Metadata addition is consistent.

The addition of topic: guides correctly categorizes this upgrade guide, and the sidebar visibility remains appropriate for this more recent beta version.

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-24.mdx (1)

5-8: LGTM! Metadata updates are consistent.

The addition of topic: guides and the sidebar change to hidden: true align with the pattern of hiding older beta version guides from the sidebar navigation.

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-21.mdx (1)

5-8: LGTM! Metadata updates are consistent.

The addition of topic: guides and the sidebar visibility change to hidden: true follow the established pattern for older beta version guides.

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-22.mdx (1)

5-8: LGTM! Metadata updates are consistent.

The addition of topic: guides and the sidebar change to hidden: true are consistent with hiding older beta version guides from navigation.

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-29.mdx (1)

5-5: LGTM! Metadata addition is consistent.

The addition of topic: guides correctly categorizes this upgrade guide. As one of the most recent beta versions, it appropriately remains visible in the sidebar.

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-28.mdx (1)

5-5: LGTM: Metadata categorization added.

The topic: guides frontmatter addition properly categorizes this upgrade guide, aligning with the systematic metadata improvements across all version guides in this PR.

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-26.mdx (1)

5-5: LGTM: Consistent metadata addition.

The topic: guides categorization is correctly applied, maintaining consistency with other version guides.

src/content/docs/fr/guides/index.mdx (1)

18-21: LGTM: New custom frontend guides section added.

The new "Guides des frontends personnalisés" subsection is properly structured and integrates well with the existing guide categories. The link follows the established pattern and aligns with the corresponding sidebar entry added in src/starlight-sidebar/fr.json.

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-17.mdx (1)

5-8: LGTM: Metadata and visibility improvements.

The addition of topic: guides categorization combined with hidden: true appropriately archives this older beta version guide while keeping it accessible via direct link. This improves sidebar navigation by reducing clutter.

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-23.mdx (1)

5-8: LGTM: Consistent archival pattern applied.

The metadata and visibility changes follow the same pattern as other older beta versions, maintaining consistency across the documentation structure.

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-20.mdx (1)

5-8: LGTM: Metadata consistency maintained.

The categorization and hiding changes are consistently applied, matching the pattern established across other older beta version guides.

src/starlight-sidebar/fr.json (1)

20-21: LGTM: Sidebar translation for custom frontends added.

The new "custom-frontend" entry is properly formatted and correctly translates to "Frontends personnalisés", aligning with the new custom frontend guides section introduced in the guides index.

src/content/docs/fr/guides/contributing/translations.mdx (2)

7-9: LGTM: Documentation badge added.

The "Mis à jour" badge appropriately signals that this page has been recently updated, improving user awareness of current content.


35-35: French translation maintains structural parity with English version; external path verification cannot be completed from docs repository.

The French translation at line 35 correctly mirrors the English version with identical path references to packages/studiocms/src/virtuals/i18n/translations. The external GitHub URLs cannot be verified from within the docs repository, and structural consistency between language versions has been confirmed.

src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-18.mdx (2)

5-8: LGTM! Cleaner sidebar configuration.

The addition of topic: guides provides proper categorization, and using hidden: true is more explicit than the previous high order number approach for hiding the page from the sidebar.


30-31: LGTM! Properly formatted French path references.

The link references are correctly formatted with the French locale prefix.

src/content/docs/fr/guides/custom-frontend/rendering.mdx (4)

1-8: LGTM! Clean frontmatter and import updates.

The description update is clear, and the ReadMore component import is properly formatted and used in the new section below.


10-10: LGTM! Clear introductory statement.

The sentence clearly introduces the dynamic nature of the StudioCMS rendering system.


14-16: LGTM! Clear explanation with proper link reference.

The Aside clearly explains the rendering system requirements and provides a properly formatted link to the custom renderers extension documentation.


45-50: LGTM! Well-structured additional resources section.

The new "Lectures complémentaires" section provides helpful guidance for readers interested in creating custom renderers, with consistent link references and proper component usage.

@ArmandPhilippot ArmandPhilippot changed the title I18n/fr update guides i18n(fr): update guides Dec 19, 2025
@dreyfus92 dreyfus92 merged commit e827cff into withstudiocms:main Dec 20, 2025
8 of 9 checks passed
@ArmandPhilippot ArmandPhilippot deleted the i18n/fr-update-guides branch December 20, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants