Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix i18n handling of namespaces with spaces in #3281

Merged
merged 2 commits into from
Dec 1, 2021
Merged

Conversation

knolleary
Copy link
Member

i18next recently added a 'natural language detection' feature that, whilst the details are irrelevant, broken the ability to have message catalog namespaces that contain a space.

This was introduced in a major version change on their part, but unfortunately their migration guide did little to highlight the impact of this feature. It did at least, once the dots were joined, point to the config options needed to disable the behaviour and get back to how it used to work.

@knolleary knolleary merged commit 1fa13ef into master Dec 1, 2021
@knolleary knolleary deleted the i18n-space-ns-fix branch December 1, 2021 15:15
@coveralls
Copy link

coveralls commented Dec 1, 2021

Coverage Status

Coverage decreased (-0.007%) to 67.356% when pulling 33af5cd on i18n-space-ns-fix into bf965a9 on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants