added support for runtimeInfos.currentLanguage if wpml is active