question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add steps to quickstart guide for setting CONTENT_TRANSLATED_ROOT

See original GitHub issue

In the Yari quickstart guide, an example along with explanation for creating the environment variable CONTENT_ROOT is clear. But, I don’t see anywhere that mentions we must define a CONTENT_TRANSLATED_ROOT env var. It would be nice to have a small explanation (eg its mdn/content but the translated files in mdn/translated-content) along with an example.

Do you have CONTENT_TRANSLATED_ROOT set? Is that repo up to date?

As I was recently informed of this myself from @peterbe and .env.dist , we must define CONTENT_TRANSLATED_ROOT=path/to/translated-content/files. If this env variable is not defined, the following error is thrown for some pages when serving locally with yarn dev. It expects the CONTENT_TRANSLATED_ROOT env variable to be defined.

Loading Error
Error: 500 on /en-US/docs/Web/CSS/flex/index.json: Error: 'ar' not in de,en-US,es,fr,ja,ko,pl,pt-BR,ru,zh-CN,zh-TW

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
peterbecommented, May 18, 2021

Since some pages do indeed need the mdn/translated-content directory of files, then I reckon having CONTENT_TRANSLATED_ROOT be required to set would make sense.

This here seems like the bug to focus on 😃 Thanks for finding that!

1reaction
escattonecommented, May 17, 2021

Thanks for creating this @tannerdolby!

Read more comments on GitHub >

github_iconTop Results From Across the Web

‎Notification to refer to Quick Start when powering on the ...
I've had my AT&T phone since January. Every time my phone is turned on, AT&T message "Please refer to Quick Start guide.
Read more >
Spectrum Mobile Activation | Spectrum Support
Check your Activation Dashboard · Follow the Quick Start Guide · New Devices · E-Sim Devices · General Information · Activation Instructions ·...
Read more >
Transferring an eSIM using Quick Start | eSIM | iPhone 13 mini
1. You can transfer your active eSIM while setting up your new iPhone by using the Quick Start wizard. To do this, follow...
Read more >
Transferring an eSIM using Quick Start | iPhone 13 - T-Mobile
1. You can transfer your active eSIM while setting up your new iPhone by using the Quick Start wizard. To do this, follow...
Read more >
Quick Start Guide
Quick Start Guide. Set Up Your Phone. Charge the Battery. 1 Connect the charger adapter to the charging jack. Do not use force....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found