Open AlbaRoza opened 3 years ago
I guess that happens because all the news so far have different file names in Dutch and in English. This could be solved by renaming the files to the same pattern as elsewhere on the site. Example: instead of naming the Dutch version of 2021-02-11-welcome.en.md
as 2021-02-11-welkom.md
, the latter should be named 2021-02-11-welcome.md. so that the only thing differing between the two is .en
.
I guess that happens because all the news so far have different file names in Dutch and in English. This could be solved by renaming the files to the same pattern as elsewhere on the site. Example: instead of naming the Dutch version of 2021
-02-11-welcome.en.md
as2021-02-11-welkom.md
, the latter should be named 2021-02-11-welcome.md. so that the only thing differing between the two is.en
.
And what about redirecting it to the general News section? So if you are in 2021-02-11-welkom.md and want to check the English version of it, you'd just have to click on "EN" and it'd take you to https://openzaak.org/en/news/ (and the other way round from an English one).
And what about redirecting it to the general News section? So if you are in 2021-02-11-welkom.md and want to check the English version of it, you'd just have to click on "EN" and it'd take you to https://openzaak.org/en/news/ (and the other way round from an English one).
I think that would be surprising to the reader, especially when there is a translation of each news piece.
Also, I think this need new development work, whereas renaming the files should work immediately with the existing functionality.
Once the user is in the English "news" section and switches to "NL", he/she encounters a 404. Same happens if the change goes from Dutch to English within the news/nieuws section.