Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fr] signup page translation #1592

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

arkhi
Copy link

@arkhi arkhi commented Jan 31, 2025

I tried to follow strings in the project’s locales for consistency:

@aaaaalbert
Copy link
Contributor

aaaaalbert commented Jan 31, 2025

That's nice, thank you :-)

(Note: I'm editing my comment since you force-pushed while I typed it.)

Just a heads-up for placing the translated file: Your PR currently overwrites the English version of the page.

Instead, the French translation (even if partial) should exist in a new sub-directory of content. Compare the existing translations for the proper structure, your translated sign-up file would go to content/fr/user/signup.md.

And to make Hugo – the site generator for Mastodon Documentation – know about your translation, here is the relevant part of the config file that needs to be amended for French.

If you have Hugo installed, you can build and test your added translation locally in your browser.

@arkhi
Copy link
Author

arkhi commented Jan 31, 2025

(Note: I'm editing my comment since you force-pushed while I typed it.)

^^
I was working on the English file to have a convenient diff while translating, then realised I actually pushed this, yeah. Thanks for taking the time to explain though.

And to make Hugo – the site generator for Mastodon Documentation – know about your translation, here is the relevant part of the config file that needs to be amended for French.

If you have Hugo installed, you can build and test your added translation locally in your browser.

This is just a draft that needs proof-reading and better testing later on for sure. I’ll check Hugo then!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants