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

Site translations no longer working #7531

Closed
1 of 2 tasks
junjieweb opened this issue May 30, 2022 · 21 comments
Closed
1 of 2 tasks

Site translations no longer working #7531

junjieweb opened this issue May 30, 2022 · 21 comments
Labels
documentation The issue is related to the documentation of Docusaurus

Comments

@junjieweb
Copy link
Contributor

Have you read the Contributing Guidelines on issues?

Description

Switch to any language, the document is displayed in English
image

Self-service

  • I'd be willing to address this documentation request myself.
@junjieweb junjieweb added documentation The issue is related to the documentation of Docusaurus status: needs triage This issue has not been triaged by maintainers labels May 30, 2022
@Josh-Cena Josh-Cena removed the status: needs triage This issue has not been triaged by maintainers label May 30, 2022
@Josh-Cena Josh-Cena changed the title Multilingual document failure Site translations no longer working May 30, 2022
@Josh-Cena
Copy link
Collaborator

Thanks for the report! This is weird...

@junjieweb
Copy link
Contributor Author

Thanks for the report! This is weird...

You're welcome! The search in the top right corner works fine.

@Josh-Cena
Copy link
Collaborator

The translation download failed: https://app.netlify.com/sites/docusaurus-2/deploys/62946916320aa8000a66ec21

It should be gone the next time we deploy

@slorber
Copy link
Collaborator

slorber commented Jun 1, 2022

Should be fixed now

temporary error not failing the build (now reported to Crowdin) + also a translation error preventing the site to build

For some reasons the french site has a very weird missing stylesheet: https://docusaurus.io/fr/

Hope this is only temporary, triggering a rebuild with clean caches

@forresst
Copy link
Contributor

forresst commented Jun 1, 2022

temporary error not failing the build (now reported to Crowdin) + also a translation error preventing the site to build

Sorry for the translation error, it's me who is at fault.

@slorber
Copy link
Collaborator

slorber commented Jun 1, 2022

No problem @forresst :D that's already awesome that you always keep up with the French translations 💯 we can only thank you for that

@slorber
Copy link
Collaborator

slorber commented Jun 1, 2022

Don't know how to fix it, but this must be a Netlify bug

Yet it's the exact same deployment

@Josh-Cena
Copy link
Collaborator

Wait—what's wrong? The site looks normal to me.

@slorber
Copy link
Collaborator

slorber commented Jun 1, 2022

https://docusaurus.io/fr/ doesn't look normal to me, only the stylesheet file can't load for some reason 🤷‍♂️ wonder if I'm alone

@Josh-Cena
Copy link
Collaborator

It's looking good to me:

image

I've cleared cache

@slorber
Copy link
Collaborator

slorber commented Jun 1, 2022

CleanShot 2022-06-01 at 15 07 33

🤪 probably a local CDN issue hopefully

@Josh-Cena
Copy link
Collaborator

Ah, should be a CDN issue. It's all good on my side—the deployment is fine.

@Josh-Cena
Copy link
Collaborator

Going to close as resolved

@slorber
Copy link
Collaborator

slorber commented Jun 1, 2022

Yes 👍

Still not fixed for me (and other people in France) but I've sent a ticket to Netlify and will track if they fix it

@slorber
Copy link
Collaborator

slorber commented Jun 2, 2022

For reference: issue for the Crowdin translation download issue not resulting in a failing CI build: shannah/jdeploy#73

(example failing build: https://app.netlify.com/sites/docusaurus-2/deploys/62946916320aa8000a66ec21)

@forresst
Copy link
Contributor

forresst commented Jun 3, 2022

For information, the problem is still not solved for the French version. @Josh-Cena Can you please browse the French version, to confirm that it still works for you?

@Josh-Cena
Copy link
Collaborator

Yep, still works for me. I'm behind a VPN so at least I can confirm that it works in the US and China😄 There's no French proxy so the closest I can get is that it seems to work in Germany and Netherlands. (Assuming the CDN server is decided based on my IP and my IP is successfully masked by the proxy server!)

@Josh-Cena
Copy link
Collaborator

Also, seems my zh translations have broken production again... I need to fix the API table. Always such a pain to maintain & translate that.

@slorber
Copy link
Collaborator

slorber commented Jun 3, 2022

For information, the problem is still not solved for the French version. @Josh-Cena Can you please browse the French version, to confirm that it still works for you?

Yes @forresst

I have opened a Netlify ticket with a network HAR file + netlify request ids etc... Can be reproduced with curl. Clearly this is on their side.

Edit: Oh, now it seems to work for me! Still broken for you?

@forresst
Copy link
Contributor

forresst commented Jun 3, 2022

Now it's ok for me too

@slorber
Copy link
Collaborator

slorber commented Jun 4, 2022

Great 👌

Totally forgot but we have Cloudflare on top on Netlify

Apparently this specific issue was more related to Cloudflare than Netlify according to their support

CleanShot 2022-06-04 at 17 49 58@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation The issue is related to the documentation of Docusaurus
Projects
None yet
Development

No branches or pull requests

4 participants