[BREAKING CHANGE] Move language functions to the platform

We now use language names in multiple places so we need a common
place where they can defined and overridden (e.g. MW can provide
localised language names from CLDR).

Change-Id: I52f2c31dd63d4e49dc4a1a6e66f5d5c01bc390ec