Skip to content

Conversation

@IbenTesara
Copy link
Contributor

The SetLanguageGuard takes care of initializing the language when no language was set and this works perfectly when the language is not part of the route yet.

However, when the language parameter was already set, the guard is not called and the I18nGuard did not initialize the language. This PR fixes the issue.

@IbenTesara IbenTesara added bug Something isn't working ngx-i18n @studiohyperdrive/ngx-i18n labels Sep 12, 2024
@IbenTesara IbenTesara added this to the ngx-i18n:v18.1.1 milestone Sep 12, 2024
@IbenTesara IbenTesara self-assigned this Sep 12, 2024
@IbenTesara IbenTesara force-pushed the fix/ngx-i18n/i18n-guard branch from 6378eeb to 677adcc Compare September 12, 2024 08:46
@IbenTesara IbenTesara merged commit f6bc46f into master Sep 12, 2024
@IbenTesara IbenTesara deleted the fix/ngx-i18n/i18n-guard branch September 12, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ngx-i18n @studiohyperdrive/ngx-i18n

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants