fix bug that Application::getCurrentLanguageCode on ios and mac always return empty string