// added missing mod argument
// moved smartyPostProcessTranslation to Translate class