Skip to content

i18n(fr): improve the wording and fix some things in tutorial#11709

Merged
ArmandPhilippot merged 13 commits into
withastro:mainfrom
ArmandPhilippot:i18n/fr-update-tutorial
May 20, 2025
Merged

i18n(fr): improve the wording and fix some things in tutorial#11709
ArmandPhilippot merged 13 commits into
withastro:mainfrom
ArmandPhilippot:i18n/fr-update-tutorial

Conversation

@ArmandPhilippot
Copy link
Copy Markdown
Member

@ArmandPhilippot ArmandPhilippot commented May 17, 2025

Description (required)

Updates the French translation of tutorial to:

  • Add changes from [tutorial] consistent voice #4700 (yeah, it's old...)
  • In the same way as above, use infinitive form for headings instead of imperative (this is what we use in other pages... and usually, it's better to use the infinitive form for headings)
  • Fix grammar in <PreCheck> (after Préparez-vous à… we should use infintive and not imperative)
  • Fix some CSS classes (check-list/puzzle-piece)
  • Fix some bad translations (balise instead of étiquette)
  • Reword some sentences to make the reading easier
  • Add some non breaking spaces to avoid punctuation being on a new line in some places...
  • Fix some VS Code translation (I installed the French module to check)
  • Replace taper with écrire or saisir (I mean, taper seems more like "everyday language" than something to write)
  • Replace stocker with sauvegarder in some places... same, I think we have better words to describe the action
  • Fix inconsistent translations between units (e.g. échecs/obstacles) or missing translation while translated before (e.g. Écrit par/Written by)
  • Translate the text in sharing buttons
  • Replace the translation of Check in: Unit X
  • Bring changes following i18n(fr): update the French i18n-guide #11593:
    • replace île with îlot
    • replace construire (in some places) with créer or compiler
    • replace support with prise en charge (maybe something we should add to the i18n guide? I mean support is more an anglicism)
    • replace styliser with mettre en forme
    • add language after resources
    • use French quotes (guillemets) instead of double quotes

I left some comments to explain my choices in some places, feel free to give your opinion there!

Related issues & labels (optional)

  • Suggested label: i18n

@netlify
Copy link
Copy Markdown

netlify Bot commented May 17, 2025

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f822a67
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/682c47ac0eb0eb000849ad68
😎 Deploy Preview https://deploy-preview-11709--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.

@github-actions github-actions Bot added the i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help! label May 17, 2025
@astrobot-houston
Copy link
Copy Markdown
Contributor

astrobot-houston commented May 17, 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/tutorial/0-introduction/1.mdx Localization changed, will be marked as complete.
fr/tutorial/0-introduction/index.mdx Localization changed, will be marked as complete.
fr/tutorial/1-setup/1.mdx Localization changed, will be marked as complete.
fr/tutorial/1-setup/2.mdx Localization changed, will be marked as complete.
fr/tutorial/1-setup/3.mdx Localization changed, will be marked as complete.
fr/tutorial/1-setup/4.mdx Localization changed, will be marked as complete.
fr/tutorial/1-setup/5.mdx Localization changed, will be marked as complete.
fr/tutorial/1-setup/index.mdx Localization changed, will be marked as complete.
fr/tutorial/2-pages/1.mdx Localization changed, will be marked as complete.
fr/tutorial/2-pages/2.mdx Localization changed, will be marked as complete.
fr/tutorial/2-pages/3.mdx Localization changed, will be marked as complete.
fr/tutorial/2-pages/4.mdx Localization changed, will be marked as complete.
fr/tutorial/2-pages/5.mdx Localization changed, will be marked as complete.
fr/tutorial/2-pages/index.mdx Localization changed, will be marked as complete.
fr/tutorial/3-components/1.mdx Localization changed, will be marked as complete.
fr/tutorial/3-components/2.mdx Localization changed, will be marked as complete.
fr/tutorial/3-components/3.mdx Localization changed, will be marked as complete.
fr/tutorial/3-components/4.mdx Localization changed, will be marked as complete.
fr/tutorial/3-components/index.mdx Localization changed, will be marked as complete.
fr/tutorial/4-layouts/1.mdx Localization changed, will be marked as complete.
fr/tutorial/4-layouts/2.mdx Localization changed, will be marked as complete.
fr/tutorial/4-layouts/3.mdx Localization changed, will be marked as complete.
fr/tutorial/4-layouts/index.mdx Localization changed, will be marked as complete.
fr/tutorial/5-astro-api/1.mdx Localization changed, will be marked as complete.
fr/tutorial/5-astro-api/2.mdx Localization changed, will be marked as complete.
fr/tutorial/5-astro-api/3.mdx Localization changed, will be marked as complete.
fr/tutorial/5-astro-api/4.mdx Localization changed, will be marked as complete.
fr/tutorial/5-astro-api/index.mdx Localization changed, will be marked as complete.
fr/tutorial/6-islands/1.mdx Localization changed, will be marked as complete.
fr/tutorial/6-islands/2.mdx Localization changed, will be marked as complete.
fr/tutorial/6-islands/3.mdx Localization changed, will be marked as complete.
fr/tutorial/6-islands/4.mdx Localization changed, will be marked as complete.
fr/tutorial/6-islands/index.mdx 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.

Comment thread src/content/docs/fr/tutorial/0-introduction/1.mdx
Comment thread src/content/docs/fr/tutorial/0-introduction/1.mdx
Comment thread src/content/docs/fr/tutorial/1-setup/5.mdx
Comment thread src/content/docs/fr/tutorial/1-setup/index.mdx Outdated
Comment thread src/content/docs/fr/tutorial/1-setup/index.mdx
:::

## Où allons-nous ?
## Vers quoi vous dirigez-vous ?
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is to comply with #4700 but I'm not entirely satisfied with this translation... so if you have ideas, they are welcome!

Comment thread src/content/docs/fr/tutorial/2-pages/1.mdx Outdated
Comment thread src/content/docs/fr/tutorial/2-pages/3.mdx
Comment thread src/content/docs/fr/tutorial/3-components/index.mdx
Comment thread src/content/docs/fr/tutorial/6-islands/1.mdx
Comment thread src/content/docs/fr/tutorial/6-islands/1.mdx
Comment thread src/content/docs/fr/tutorial/5-astro-api/3.mdx
Comment thread src/content/docs/fr/tutorial/0-introduction/index.mdx
Comment thread src/content/docs/fr/tutorial/1-setup/index.mdx
@ArmandPhilippot ArmandPhilippot marked this pull request as ready for review May 18, 2025 10:33
Copy link
Copy Markdown
Member

@thomasbnt thomasbnt left a comment

Choose a reason for hiding this comment

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

LGTM for the rest of files!

Comment thread src/content/docs/fr/tutorial/6-islands/3.mdx Outdated
Co-authored-by: Thomas Bonnet <thomasbnt@protonmail.com>
@ArmandPhilippot ArmandPhilippot merged commit bd74abc into withastro:main May 20, 2025
10 checks passed
@ArmandPhilippot ArmandPhilippot deleted the i18n/fr-update-tutorial branch May 20, 2025 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants