nopCommerce
nopCommerce copied to clipboard
feat(Localization): Allow setting a Language resource to an empty string value #6954
Change
This change allows setting a empty string for a language resource.
If the value is null
, it will still default to existing functionality of the resource name being shown.
#nullable
was enabled on LocalizationService
, methods that may return null were modified to indicate this.
Possible Breaking changes
-
InsertLocaleStringResourceAsync
may throwArgumentNullException
if paramlocaleStringResource
is null, which may be a different exception type then previous.
Resolves #6954