electron / website

:electron: The Electron website
https://electronjs.org
Apache License 2.0
111 stars 127 forks source link

Translated Governance and Apps Pages Don't Work #597

Open dsanders11 opened 2 months ago

dsanders11 commented 2 months ago

For some reason the translated versions of the "Governance" and "Apps" pages throw 404s. The strange thing is they seem to load initially and then switch to 404, and the console output logs a few hydration errors. Their broken nature is also noted in the build output constantly, e.g.:

2024-07-04T00:25:32.0141233Z - Broken link on source page path = /fr/docs/latest/api/notification:
2024-07-04T00:25:32.0142251Z    -> linking to /fr/governance
2024-07-04T00:25:32.0142885Z    -> linking to /fr/apps
JeelRajodiya commented 1 month ago

Hi David, Is the issue open for outside contributors? I would like to solve it.

dsanders11 commented 1 month ago

@JeelRajodiya, yep! PRs welcome for bug fixes. 🙂

JeelRajodiya commented 1 month ago

How do I download all other i18n language data in my local environment?

The repo only contains en version. is there any command I am missing to run? image

dsanders11 commented 1 month ago

@JeelRajodiya, you can use yarn run i18n:download to get the other language data. You'll need to set up a CrowdIn personal API token and can set it in your environment (as CROWDIN_PERSONAL_TOKEN) before running the command.

JeelRajodiya commented 2 weeks ago

Hello, I apologize for not opening a PR yet. I’ve been quite busy lately, but I’m still interested in working on it. I’ll continue when I have some free time. If someone else wants to take it on in the meantime, please feel free to do so!