Fix i18n plugin #1

Open
opened 2020-03-11 17:37:21 +01:00 by decentral1se · 2 comments
Owner

It's broken for Pelican 4 or maybe just our setup.

We wanted also to have Dutch URLs include a /nl/.

It's broken for Pelican 4 or maybe just our setup. We wanted also to have Dutch URLs include a /nl/.

It isn't broken. The internal logic of Pelican requires a main language, which becomes / (in this case NL is that). Every translation gets the ISO language tag as a sub-directory, in our case /en/ .

It isn't broken. The internal logic of Pelican requires a main language, which becomes `/` (in this case NL is that). Every translation gets the ISO language tag as a sub-directory, in our case `/en/` .
Author
Owner

Ah OK. @mb mentioned that it was confusing that a default must be chosen without being explicit (e.g. /nl/ should be there) and I agreed. Something like https://nubo.coop URL structure would be agreeable, I guess. I think that'd be nice but I don't know if we'd just be fighting Pelican...which seems to happen a lot...

Ah OK. @mb mentioned that it was confusing that a default must be chosen without being explicit (e.g. /nl/ should be there) and I agreed. Something like https://nubo.coop URL structure would be agreeable, I guess. I think that'd be nice but I don't know if we'd just be fighting Pelican...which seems to happen a lot...
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: varia/manymanymany-varia-websites#1
No description provided.