-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
The horrible situation of current translation effort #3833
Comments
Hi, thanks for raising this! We know there’s a backlog of issues but we haven’t prioritised them because the old docs are mostly going to be replaced anyway, so all the focus is on getting them into shape that’s ready for a public beta and to start the next wave of translation effort. We expect that to happen in the next couple of months. As soon as we have a branch up and ready, we’ll need to work with the translation maintainers to figure out a strategy forward. But I wouldn’t suggest putting extra energy into translating the current content.
This sounds plausible. We should at least look into this and fix this. |
Fix for the bot: reactjs/translations.react.dev#170 I'm not sure how to verify the change so I'll ping @tesseralis who helped set it up! We'll need the translation repos to do the branch rename too. |
Hi @gaearon And about not putting more effort into the current docs, it's something I really love to do, some other people have put time into translation and opened PRs for it. Not handling them doesn't send the message I like. I'm already excited for the new docs. From #3308 I understand it's gonna be more interactive and more like a game. I hope I18n is a first class citizen from the start. |
Update: The bot still doesn't work, Things have gone worse actually, Updates don't get deployed anymore (also PR deployment previews) and the main site is stale. |
FWIW I only recently was given admin access to do so, but I went through all of the Vercel configurations this morning and updated them to point to I don't think this has anything to do with the sync scripts you're referencing though. It looks like those were already updated to use the |
Hello hello! Following up here, @sJJdGG. We're in a bit of a fix—one of those the person who set this up moved on and the supporting system changed type things. We should know more in a week or two. But in the mean time, to move things along, if you could give @bvaughn a specific PR that's failing, we can continue our sleuthwork |
@bvaughn @rachelnabors Hi! You can check it by browsing the tutorial page on Persian site and seeing it's not translated although it's been translated and already merged on main branch. But Vercel check has already been passed on the main branch which should mean the last last changes have already been deployed! This malfunctioning behavior started after the merge of reactjs/translations.react.dev#170. I've merged the tutorial page translation just after that. Main site deployments were good before that. So in addition to not having the Bot working, the deployments don't work either. PR's preview deployments are working right now though. There used to some permission errors with Vercel bot but not anymore. |
Ah. I think there's some confusion. The most recent commit (from 2 days ago) was successfully built by Vercel and deployed here where you can see the tutorial page is translated properly. However the docs site at fa.reactjs.org is still hosted on Netlify (not Vercel yet). So it seems like something is wrong with the Netlify configuration. |
Looks like for some reason, the Netlify settings for fa.reactjs.org still pointed to the
I just manually triggered a new deploy to see if it fixes things. |
It's fixed! I just went through the 40ish other configurations and updated them too. Hopefully this will all get better soon. Sorry for the trouble! Thank you for bringing this to our attention, @sJJdGG |
Thanks @bvaughn! Shouldn't we keep the issue open until the synchronizer bot gets fixed? |
Sorry. I didn't realize it was still broken. Your most recent comment about the bot said:
But updates should now be getting deployed successfully. What's not working? |
The synchronizer bot It's responsible for pushing new commits from reactjs.org repo to all translation repos. Right now it's not working and all translation repos are stale and behind this repo. |
I see. I don't see a reason why that would be the case, looking through the bot's code, but I don't have any context on how or where this bot runs or how to configure it. The project's README doesn't have instructions for how to run or test it. 😅 |
I tried running the script locally to see if that revealed anything: node scripts/sync.js config.json langs/fa.json It seems to checkout the repo correctly, pull down and merge the upstream changes, but then it fails when it tries to push the changes:
Looking at the That being said, it looks like the bot checks out the translation repos within a local "repo" folder. I wonder if the checkouts just need to be wiped out and recreated or something (after the branch change)? |
Digging in further, I wonder if the I see this error after adding an auth token and re-running the sync script:
I'm a little confused by this though, since the script is already using personal access token for auth. Edit Looks like the script wasn't correctly reading the token from my Zsh profile. After fixing that, I was able to successfully create this PR: So the script does work (assuming the environment is correctly configured). Why isn't the bot working then? |
@bvaughn I'm more clueless than you since I don't have access to anything except our own repo. I just know that the last sync PR was opened on Jul 5 (reactjs/fa.react.dev/pull/226) and so some change must have happened after that and the only suspect was renaming of the main branch in the upstream repo. |
Fair enough. I'm going to go ahead and run the sync locally (with my user) to create PRs as a temporarily solution to buy some time until we get the underlying problem sorted out. |
Also the translations status page is back up now and being served from a new URL: |
@bvaughn Thank you for the PRs. Let me know if I can be any help |
I've setup a new script and bot for this. Sync PRs were pushed for all translation forks this morning and will run weekly from now on. I'm going to close this issue for now, since (I think) things are taken care of. Let us know if new problems pop up please. |
Issue for new doc translations: #4135 |
main translation repo is dead.
you can say it by looking at the long list of not handled PRs in the repo
Translation bot is dead. it doesn't push new commits or does not open new PRs. (I think it's due to renaming primary branch name from "master" to "main" in this repo but I'm not sure)
With current efforts for new docs #3308 and the emphasis on translations, it's an issue that at least should be discussed.
I'm the current maintainer of Persian translation effort and volunteering for any task to fix this situation in the upstream.
The text was updated successfully, but these errors were encountered: