brisa-build / brisa

The Web Platform Framework.
https://brisa.build
MIT License
452 stars 12 forks source link

fix(i18n): use `interpolation` and `format` inside Web Components #546

Closed aralroca closed 1 month ago

aralroca commented 1 month ago

Fixes https://github.com/brisa-build/brisa/issues/545

The formatters of i18n (interpolation.format) are not being taken to the client, therefore the whole interpolation part cannot be used inside the web components right now, it is only being applied in the server components and during the SSR of the Web Components.