added locale configuration to translation service