opral / inlang-paraglide-js

Tree-shakable i18n library build on the inlang ecosystem.
https://inlang.com/m/gerre34r/library-inlang-paraglideJs
23 stars 0 forks source link

`paraglide-next init` support Pages Router Setup #91

Closed LorisSigrist closed 2 months ago

LorisSigrist commented 2 months ago

Context

Currently paraglide-next init only supports setting up the App router, not the Pages router. This causes a de-sync between the setups drastically increasing the documentation effort.

Proposal

Also make it work for Pages routers

samuelstroschein commented 2 months ago

wou;dn't this be part of a pages router milestone?

LorisSigrist commented 2 months ago

"Simplified Onboarding Flow" seems to be the most descriptive. I don't plan on spending much time on the Pages router since it's legacy so I don't think having a whole separate milestone makes sense.

This issue exists to avoid users immediately getting an error when trying paraglide-next in their project. That's a bad first impression. Apart from that no pages router improvements are planned.