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

Provide deploy preview links for each language #4877

Open
fkohrt opened this issue Jan 25, 2021 · 1 comment
Open

Provide deploy preview links for each language #4877

fkohrt opened this issue Jan 25, 2021 · 1 comment
Labels
area: deploy-previews area: i18n good first issue type: feature code contributing to the implementation of a feature and/or user facing functionality

Comments

@fkohrt
Copy link
Contributor

fkohrt commented Jan 25, 2021

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.

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.

@fkohrt fkohrt added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Jan 25, 2021
@martinjagodic
Copy link
Member

I would love to see this implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: deploy-previews area: i18n good first issue type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

No branches or pull requests

3 participants