decaporg / decaporg/decap-cms

Provide deploy preview links for each language

Open
#4,877 1 comment 1 reaction 0 assignees View on GitHub
area: deploy-previews area: i18n type: feature
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

**Is your feature request related to a problem? Please describe.**

Multilingual sites tend to have a language code inside their path, such as `https://example.org/en/about/`. This is also the [default behaviour for Hugo sites](https://gohugo.io/content-management/multilingual/).

**Describe the solution you'd like**

Make available a `{{lang}}` template tag for the `preview_path` template. When internationalization is enabled and `preview_path` uses tags that are configured individually for each translation, provide multiple deploy preview links.

**Describe alternatives you've considered**

Only linking to the default language.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.