Closed gaearon closed 1 year ago
Hi @gaearon
Does that mean, we should stop the translation of the current website, which in progress? And start focusing on this?
I think that would make the most sense. (Sorry if you spent a bunch of effort on this.)
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.
@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/
@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.
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.
The current pre-commit hook has the following two lines:
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.
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.
@smikitky yeah this sounds confusing! do you have a fix in mind? how did this work before?
@gaearon Is there a schedule for the official release of new documents? It would be nice to share roughly.
@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.
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
@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? 😉 https://github.com/reactjs/pl.reactjs.org/issues/287
@gaearon Please set up the Japanese beta docs, too. Translations for several pages and MDX tags were merged into main.
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.
I'd like to help with the Spanish translation. How can I get enrolled?
Just a heads up: we're going to be a bit delayed during React Conf this week. Thanks for your patience!
Sorry for the delay, Polish and Japanese docs are deployed here:
We're working to get the domains registered as well, will update when that's available.
Sorry for the delay, Polish and Japanese docs are deployed here:
* https://pl-beta-reactjs-org.vercel.app/ * https://ja-beta-reactjs-org.vercel.app/
We're working to get the domains registered as well, will update when that's available.
Awesome! Thank you, that helps a lot :)
Heads up, the domains are now available:
@gaearon Analyze bundle
job still fails for every new PR made in translation forks. Looks like the cause is this (Line 57):
Line 57 refers to bundle_analysis_upload.yml
, but this workflow file no longer exists (removed by 25ac9d0). Perhaps the CI is currently using some stale artifact that remains only in the main repository as the "base"?
EDIT: @jakubdrozdek "Analyze Bundle" keeps failing, so I investigated and found this problem. I believe there is a CI setup bug that doesn't surface on the main repository because an old artifact happens to exist and is used as a base.
EDIT: I confirmed recent actions for PRs on this repository were downloading the same artifact (RunID: 1429732265, Artifact: 111304536) even though the main branch has been changing frequently.
I made a PR to fix the problem above: #4192
hi @gaearon
For Hindi translation we have completed two pages, is it enough to get the hindi docs domain also setup?
I'd like to help with the Spanish translation. How can I get enrolled?
I second this! Would love to be part of it though I'm not currently a translation repo maintainer. Have a nice day everyone and thanks :)
I've added more pages to the list of things that are good to start translating. See updated list above.
Hey all, sorry for the delay! These are now up:
Hey all, sorry for the delay! These are now up:
Thank you for setting this up @rickhanlonii :smile:
@gaearon @rickhanlonii
Many test runs are failing for hindi translation repository on all PRs. Is there anything needs to be done there?
Here is a sample PR https://github.com/reactjs/hi.reactjs.org/pull/186#pullrequestreview-886811263
@arshadkazmi42 Please don't merge code changes like https://github.com/reactjs/hi.reactjs.org/pull/186. Only do translation changes on your repo. All code changes should be done on the main repo. Otherwise you'll get out of sync.
@gaearon Got it. will take care of that. Is this why the builds are failing? I have been merging these Bump PRs.
Depends on which failure specifically. You can click on each to see the cause.
Here is one, for example:
I would recommend to copy all content files outside the project, replace all the code with the original code in this repo, and then copy all the content files back. This way you'll get back to the state this repo is in.
When I am trying to open those build, it does not shows me these details, seems there is some access level and I don't have access. Below are the tests which are failing and circle ci is stuck
Also, when I am trying to access the details, for CircleCI and Vercel failed jobs, I get below pages, which does not shows any reason of failing
Depends on which failure specifically. You can click on each to see the cause.
Here is one, for example:
I would recommend to copy all content files outside the project, replace all the code with the original code in this repo, and then copy all the content files back. This way you'll get back to the state this repo is in.
@gaearon I just did what you have suggested and created a PR. Still seeing some builds fail. Can you check the logs, what could be failing? https://github.com/reactjs/hi.reactjs.org/pull/188
Took clone of main branch of https://github.com/reactjs/reactjs.org
Finally was able to fix the build issues with manual merge https://github.com/reactjs/hi.reactjs.org/pull/188. Thank you for the help
Hi @rickhanlonii, @gaearon! The Spanish translation has 3 finished articles. Could you set up deployments for the beta site?
@carburo all set: http://beta.es.reactjs.org/
Hey @rickhanlonii, @gaearon! The Finnish translation has 5 pages currently translated. However, the pull request for it has not been approved yet. https://github.com/reactjs/reactjs.org-translation/pull/191
Perhaps you could look into it? Thanks!
Hey, @gaearon @rickhanlonii I don't know whether it should be opening up a new issue or not for this. But can I raise a PR for enabling BF cache? I have tested it with chrome dev most of the things are already there.
Sure, a PR is welcome.
@mirorauhala Approved!
@rickhanlonii I have finished 7 pages for the Albanian Beta website. I attached the PDF with the screenshots. It would be great if you please help us set up the deployment for this. @gaearon Even thought you added me to the maintainers list, I need someone to review and accept my pull requests, because I cannot. Could you please, take a look and accept it, when you have some time? It would be great if I had the rights to review and accept myself. Thank you in advance!
Here are my commits: https://github.com/reactjs/sq.reactjs.org/pull/51
Screenshots of the Beta website: React Docs SQ.pdf
@theringsofsaturn Are you in the maintainers list? I think maintainers should be able to merge things. If you're not, can you send a PR to add yourself to the maintainers?
@theringsofsaturn Are you in the maintainers list? I think maintainers should be able to merge things. If you're not, can you send a PR to add yourself to the maintainers?
@gaearon Yes, I sent the PR and you already merged that, here: https://github.com/reactjs/reactjs.org-translation/pull/195#issue-1254096301 I am in the maintainers list now. But still it shows me this:
Hello, I'm willing to translate to Persian/Farsi. But unfortunately the current Persiona repo doesn't even have the beta folder. In recent weeks I've translated several pages (old docs) but they have never been reviewed.
Now I want to proceed with Beta version. Please add me to maintainers list.
Hey @gaearon, we have 3 translated pages in the Hebrew docs - https://github.com/reactjs/he.reactjs.org Can we get a deployment?
Hello Dan I want to translate to arabic but I have question is there RTL website version ? thank تاج الاصفياء اسحاق
@gaearon Could you also set up the distribution of Korean beta documents?
Hello @gaearon , The https://github.com/reactjs/ar.reactjs.org does not have the beta folder yet, I can help to contribute and help translate it into Arabic.
Hi react maintainers We are returning with the translations on the beta pages of the pt-br repo, can you help me configure the deploy process on the beta pt-br site? what should I do?
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.