opral / inlang-paraglide-js

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

SolidAdapter - Can't use messages everywhere #49

Closed LorisSigrist closed 6 months ago

LorisSigrist commented 6 months ago

Context/Problem

Currently it's not possible to use messages in Title and Meta tags, or on API routes (since 1.0). This is because the language tag cannot be resolved via context.

https://github.com/solidjs/solid-meta/issues/41

Proposal

Switch to RequestEvent + Middleware as the mechanism for resolving the language on the server.