Fixed #23196 -- Don't translate empty string as gettext metadata

Returns empty value of corresponding type in case of empty string.
Yep, there can be only `None`, not `""`