fix bug that Application::getCurrentLanguageCode on ios and mac always r...

fixed #8526