Merge change 6414 into donut

* changes:
  Optimize storing of cached TTS parameters. Initialize the cached language settings with the current Locale.