As of ios 14, both
AppleLocale and AppleLanguages seem to be defined. Would recommend picking AppleLanguages first now, since that supports the app specific prefered languages feature. and use optional chaining to better allow for backward compatibility