npub1lp…a5j0h on Nostr: Hello #eleventy people! I am using the #i18n plugin and I am having a weird issue in ...
Hello #eleventy people! I am using the #i18n plugin and I am having a weird issue in which collections created within language-specific directories don't set their respective language and instead use the fallback language. So any collection item created in `fr/` or `it/` will only ever have a `page.lang` of `de` because that is the fallback.
What could possibly cause this?
Published at
2025-05-07 08:00:12 UTCEvent JSON
{
"id": "d452a375be4597da0472f735b94e6d6193a66d31634109d4781f9b82ffc35e00",
"pubkey": "f86500d735ea38e3a46676bcd70601111127eb346aa80670240772c8b73bebc5",
"created_at": 1746604812,
"kind": 1,
"tags": [
[
"proxy",
"https://indieweb.social/@nachtfunke/114465493000794614",
"web"
],
[
"t",
"i18n"
],
[
"t",
"eleventy"
],
[
"proxy",
"https://indieweb.social/users/nachtfunke/statuses/114465493000794614",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://indieweb.social/users/nachtfunke/statuses/114465493000794614",
"pink.momostr"
],
[
"-"
]
],
"content": "Hello #eleventy people! I am using the #i18n plugin and I am having a weird issue in which collections created within language-specific directories don't set their respective language and instead use the fallback language. So any collection item created in `fr/` or `it/` will only ever have a `page.lang` of `de` because that is the fallback.\n\nWhat could possibly cause this?",
"sig": "6dde42d060f843ff63b29456c2ff55d9e5954ad3c4567bb22f0cec451d26ef5d46a96af579e3181420c8eac55628604438eb82a306e7b01afc4b86782619b75f"
}