Normalise locale string when used by SmartlingTranslator

Add basic normalisation of locale string sent to Smartling to allow
for locally specified locales containing underscores, e.g. xx_YY.
Smartling expects locale strings to contains dashes, e.g. xx-YY.