astrolicious / i18n

Yet another i18n integration for Astro with server and client utilities, type safety and translations built-in.
https://astro-i18n.netlify.app/
MIT License
38 stars 2 forks source link

Discrepancies between the integration and the docs #26

Open BuckyBuck135 opened 1 month ago

BuckyBuck135 commented 1 month ago

Hi Florian, Wanted to share two instances of discrepancies between the integration and the docs.

1) Integration name from the command line in new project does not match the docs

using the command line ` to start the integration updatesastro.config.mjs` with these two lines:

import liciousI18n from "@astrolicious/i18n"; integrations: [liciousI18n()] image

These two lines do not match the docs shown in the screenshot below: image

Here's a repro

2) There's a typo in

I'll do a PR for these typos, but I don't know what to do about the first one.

florian-lefebvre commented 1 month ago

Thanks for the typos! As for the import identifier, I'm looking into it but I think it will require a fix upstream (https://discord.com/channels/830184174198718474/1197638002764152843/1247578106584367156)