Merge "Move locale from LanguageDetectionEvent to base class" into qt-dev