Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jul 29, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

* fix: remove setting defaults in ssr from useDefaultLocale

* chore: revert previous useDefaultLocale commit

* fix: split I18nProvider internally into two components

A component uses`useDefaultLocale` and another the locale value set in the Provider.

* fix tests

* refactor(i18n): Replace getDefaultLocale with useDefaultLocale in useLocale function

* test(i18n): Add tests for language change handling in useLocale

---------

Co-authored-by: Robert Snow <[email protected]>
Co-authored-by: Robert Snow <[email protected]>
@pull pull bot locked and limited conversation to collaborators Jul 29, 2025
@pull pull bot added the ⤵️ pull label Jul 29, 2025
@pull pull bot merged commit 41f7a00 into code:main Jul 29, 2025
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants