Why Nostr? What is Njump?
2024-04-01 09:35:51

Anders Thoresson on Nostr: Trying to wrap my head around #i18n and #11ty. Swedish will be the main language for ...

Trying to wrap my head around #i18n and #11ty.

Swedish will be the main language for the site I’m building, with some English content as well.

I want the Swedish content live directly from the root:

domain.tld
domain.tld/posts
domain.tld/about
etc

And /en/ added in for English.

Do I even need the i18n and translation plugins? Or could I just build that folder structure without them, and using variables/includes for translations in shared templates?
Author Public Key
npub18hsfczgawq5hldyrpuxwcrpe527w8wustf93taaq47zhhjkye7jqqves7y