Skip to content

[Beta] Translating New React Docs #4135

Description

@gaearon

It's time to translate new React docs at https://react.dev!

Who is this issue for?

This issue is for existing translation repo maintainers.

What is ok to translate now?

All pages in src/content are good to translate.

Something unclear?

Please comment here with concerns or suggestions. Originally we wanted to suggest translating when more of the content is written. However, some translators have expressed interest in starting earlier so that's why we made this issue.

Activity

  1. pinned this issue on Nov 29, 2021
  2. arshadkazmi42 commented on Nov 29, 2021

    @arshadkazmi42
    Member

    Hi @gaearon

    Does that mean, we should stop the translation of the current website, which in progress? And start focusing on this?

  3. gaearon commented on Nov 29, 2021

    @gaearon
    MemberAuthor

    I think that would make the most sense. (Sorry if you spent a bunch of effort on this.)

  4. arshadkazmi42 commented on Nov 29, 2021

    @arshadkazmi42
    Member

    I think that would make the most sense. (Sorry if you spent a bunch of effort on this.)

    Thank you for confirmation. Will start working towards that.

  5. jakubdrozdek commented on Nov 29, 2021

    @jakubdrozdek
    Member

    @gaearon Hey, I just started working on the Polish docs, but unfortunately my first PR's CI checks fail on Analyze bundle job.
    https://github.com/reactjs/pl.reactjs.org/runs/4360534093?check_suite_focus=true
    Do you know what's the problem? Is it required to pass?

    And second question: where can we preview our translated website and what's the URL for the live Polish beta? The link in PR for Vercel app links to the old React docs: https://plreactjsorg-7luo3ndx9-fbopensource.vercel.app/

  6. smikitky commented on Nov 30, 2021

    @smikitky
    Member

    @jakubdrozdek That happened on our fork (Japanese), too. That dawidd6/action-download-artifact@v2 GitHub action tries to download "external" files (artifact) that had been generated by a workflow executed on the main branch. You got that error because no relevant workflow has been previously merged into the main. If I understand correctly, you can ignore that error and just merge the PR for now. Everything should be fine from the next PR.

  7. gaearon commented on Nov 30, 2021

    @gaearon
    MemberAuthor

    Do you know what's the problem? Is it required to pass?

    Like @smikitky said, try without it passing and see if that resolves next time. I wouldn't worry about it for now.

    And second question: where can we preview our translated website and what's the URL for the live Polish beta?

    If you write a few pages I'll set up a project. Unfortunately it's manual so write here and we'll do it.

  8. smikitky commented on Dec 1, 2021

    @smikitky
    Member

    The current pre-commit hook has the following two lines:

    https://github.com/reactjs/reactjs.org/blob/4022f9774b8dd93d863fd6bca6447b1f03ae3979/beta/.husky/pre-commit#L5-L6

    This may make sense on the main repo but makes no sense on translation forks. Every time I commit, I see many useless notices saying the explicit IDs are different from auto-generated ones.

    https://github.com/reactjs/reactjs.org/blob/4022f9774b8dd93d863fd6bca6447b1f03ae3979/beta/scripts/generateHeadingIDs.js#L55-L57

    What's worse, because of the unconditional git add -u, I accidentally committed and pushed a draft translation without knowing it. I think this process could be smarter and less confusing to new translators.

  9. gaearon commented on Dec 1, 2021

    @gaearon
    MemberAuthor

    @smikitky yeah this sounds confusing! do you have a fix in mind? how did this work before?

  10. hg-pyun commented on Dec 1, 2021

    @hg-pyun
    Member

    @gaearon Is there a schedule for the official release of new documents? It would be nice to share roughly.

  11. smikitky commented on Dec 1, 2021

    @smikitky
    Member

    @gaearon In the future, it would be nice to run pre-commit generate-ids only on the main repo. When it finds a heading without an explicit ID, it should reject the commit instead of unconditionally fixing it and committing it. Alternatively, it could auto-fix only the files to be committed, not all the files in the src directory.

    But in the meantime, I think this pre-commit hook could be simply removed.

  12. harish-sethuraman commented on Dec 1, 2021

    @harish-sethuraman
    Collaborator

    When it finds a heading without an explicit ID, it should reject the commit instead of unconditionally fixing it and committing it.

    We might have to write a custom hook for that will look into that.

    But in the meantime, I think this pre-commit hook could be simply removed

    Will remove it

  13. jakubdrozdek commented on Dec 2, 2021

    @jakubdrozdek
    Member

    @gaearon Hey, I just finished translating the whole first chapter, and going on. Do you think it's enough to deploy the Polish beta docs now? 😉
    reactjs/pl.react.dev#287

  14. smikitky commented on Dec 4, 2021

    @smikitky
    Member

    @gaearon Please set up the Japanese beta docs, too. Translations for several pages and MDX tags were merged into main.

  15. gaearon commented on Dec 4, 2021

    @gaearon
    MemberAuthor

    I actually just went on a vacation but I asked @rickhanlonii to find someone from the team to help with this. Ping me in twitter DM if there’s no progress in a week and I’ll double check.

  16. 117 remaining items

  17. added a commit that references this issue on Jun 30, 2023
  18. ysh199882 commented on Aug 13, 2023

    @ysh199882

    We've updated the translation checklist issue across all repositories, fixed some lost translated pages, and fixed the global progress tracker at https://translations.react.dev/ to show the status of new translations!我们更新了所有存储库的翻译清单问题,修复了一些丢失的翻译页面,并修复了 https://translations.react.dev/ 上的全局进度跟踪器以显示新翻译的状态!

    Screenshot 2023-04-25 at 05 37 02

    Hello,

    I am a loyal user of React. I would like to contribute to the translation of the React documentation. However, I noticed that there used to be a progress indicator for Simplified Chinese translation in this image, but now it's gone. Was there any particular reason for this change?

  19. smikitky commented on Aug 29, 2023

    @smikitky
    Member

    Hi, I think many translators are still following this issue, so let me introduce this this small tool to translate OGP images stored as public/images/og-*.png. Such images are used by Facebook and other SNS.

    https://codesandbox.io/p/sandbox/react-ogp-image-generator-8299gn

    You can generate images like this in 30 seconds:

    image

    RTL and composite fonts are not supported, but you can edit the source code to suit your needs.

  20. smikitky commented on Aug 29, 2023

    @smikitky
    Member

    By the way, if there are translators who are wondering why the new translations are not showing up on Google, please refer to #6260.

  21. tdd commented on Aug 30, 2023

    @tdd
    Contributor

    Thank you for this! Just used it for the FR translation 😉

  22. fabiarias commented on Sep 17, 2024

    @fabiarias

    I would like to help with the translate.

  23. MiryamMann commented on Apr 19, 2025

    @MiryamMann

    Is there a translation in Hebrew already?
    I'll be happy to translate articles in React web to Hebrew.
    Please let me know if I can begin.

  24. Ni-zav commented on May 11, 2025

    @Ni-zav

    I am starting to contribute to this react.dev, may I know is it okay to translate the title in the frontmatter?

  25. smartcoder0777 commented on Jan 8, 2026

    @smartcoder0777

    Hi @gaearon,
    It looks like there isn't a translation in Spanish.
    If you need it, I can work on it.
    Looking forward to hearing from you.
    Thanks,
    Pavel

  26. tdd commented on Jan 8, 2026

    @tdd
    Contributor

    Hey @smartcoder0777.

    Not sure what gave you that idea. ES has been one of the first langs to reach completion.

    https://es.react.dev/ • https://github.com/reactjs/es.react.dev

    Not sure why it doesn't show up on translations.react.dev anymore, though, but judging by their open PRs they're pretty up-to-date.

  27. smartcoder0777 commented on Jan 8, 2026

    @smartcoder0777

    Hi @tdd ,
    Thanks for your response.
    By the way I'd like to take part in contributing on React.dev.
    I saw that there are many issues with different tags.
    Would you like to let me know which tag has a priority or good for new comers?

    Best,
    Pavel

  28. tdd commented on Jan 8, 2026

    @tdd
    Contributor

    Hey @smartcoder0777! I'm actually not involved these days in the translations anymore… FR used to be best-of-breed and is now lagging almost a year behind.

    I'm not the proper contact point when it comes to contributing to the upstream repo or some other translation, but do feel free to simply write PRs to address outstanding tickets, especially if such issues were acknowledged by the docs team.

  29. smartcoder0777 commented on Jan 8, 2026

    @smartcoder0777

    Hi @tdd ,
    You look like misunderstood me. I can translate documentations in several languages but I am a developer with experiences in React and Node.js.
    So, I'd like to contribute to your repository but as you know, there are so many issues with many labels.
    I am not sure, which one is good for me to start. So, if you can guide me once, I will appreciate it.

    Thanks,
    Pavel

  30. tdd commented on Jan 8, 2026

    @tdd
    Contributor

    Hey @smartcoder0777! Sorry about the misunderstanding.

    This link filters this repo's issues on open issues less than 3 years old (so they don't pertain to legacy docs) that are either typos or "good first issue" stuff.

    That's a good springboard for contributing. Now, some of these typos may well not exist anymore (core team's docs updates rarely if ever look at issues their updates might be closing), so do double-check, but that should help sift stuff down.

    I also don't think legacy docs issues should remain open, but before anyone goes on mass-closing them, perhaps getting approval from a core docs team member would be best!

  31. deleted a comment from smartcoder0777 on Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions