Default to EN page if a translation is not available #170
Labels
No Label
bug
design
DO NOT MERGE
duplicate
easy
enhancement
feedback-wanted
fsfe.org
help wanted
html/css
hugo/go
javascript
php
python
question
system
text
translation
waiting
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: pmpc/website#170
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, a language version needs to be complete in order to not break relative links. Hugo only builds pages for existing files in the respective language folders in
public
(e.g. /fr, /el)It would be better if we had a system like with fsfe.org where a non-existent translation always shows the EN version instead of a 404 error
I'm not sure we'll find a way to do this on our own, or whether we have to ask upstream.
If it is not possible with Hugo, we could do this on a webserver basis. If there is a 404, the webserver should check whether there the file is available in the default (EN) version and redirect to that.
Gitea has an interesting script to deal with that: https://gitea.com/gitea/website/src/branch/master/scripts/trans-copy