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

Added test to check if empty value stays empty value of corresponding type