CB-4602 CB-6490 CB-4822 WP Globalization

BCP-47 compliance for getLocaleName, getPreferredLanguage.