facebook / facebook/docusaurus

A Way to skip specific language builds if they fail and proceed with the rest of the supported languages

Offen
#8,368 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
domain: i18n feature
Vorherrschende Sprache
TypeScript
Sterne
66.2k
Forks
10k
Ø Merge
1 T. 3 Std.
Gemergte PRs (30 T.)
52

Beschreibung

### Have you read the Contributing Guidelines on issues?

- [X] I have read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#reporting-new-issues).

### Description

Often times, the introduction of localization and providing support to a community of translators will introduce encoding issues or other bugs that are hard to catch until deployment happens on merge.

These bugs aren't caught locally with `yarn build -- --locale LANG`.

I am curious if there's a way with yarn build to skip some languages if they fail to build (presuming english builds correctly) so that deployment can still happen.

### Has this been requested on Canny?

_No response_

### Motivation

Localization and translations with some encoding issues cause deployment issues.

### API design

_No response_

### Have you tried building it?

_No response_

### Self-service

- [ ] I'd be willing to contribute this feature to Docusaurus myself.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.