Added . and # prefix to language keys checks (like radios)

Fixes #5748
Merge pull request #5749 from Ccomp5950/languages_fix

Added . and # prefix to language keys checks (like radios)