As described in the bash manual , it is used for localization:
A double-quoted string preceded by a dollar sign ('$) will result in a string that will be translated according to the current locale. If the current language is C or POSIX, the dollar sign is ignored. If a string is translated and replaced, the replacement is performed in a double way.
source share