You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
The issue is that the default localization.json file is being treated as a locale file, and the string.split()[^2] resolves to localization, which it then tries to create a CultureInfo from, which is invalid.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there,
I'm using a set of JSON files with localised strings, for example:
Where
localization.json
is the fallback locale (en-US) andlocalization.nl.json
is Dutch.When the request locale is
nl
aCultureNotFoundException
is thrown with the messagefrom here:
Askmethat-Aspnet-JsonLocalizer/Askmethat.Aspnet.JsonLocalizer.Shared/Localizer/Modes/LocalizationI18NModeGenerator.cs
Line 49 in 788d32b
The issue is that the default
localization.json
file is being treated as a locale file, and thestring.split()[^2]
resolves tolocalization
, which it then tries to create aCultureInfo
from, which is invalid.The text was updated successfully, but these errors were encountered: