nopCommerce icon indicating copy to clipboard operation
nopCommerce copied to clipboard

feat(Localization): Allow setting a Language resource to an empty string value #6954

Open jafin opened this issue 5 months ago • 0 comments

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 throw ArgumentNullException if param localeStringResource is null, which may be a different exception type then previous.

Resolves #6954

jafin avatar Jan 18 '24 23:01 jafin