fix(l10n): config should return the language not locale

@pdehaan r?

`locale` codes should never be exposed outside the server– they're only used (or should be) for file names. This fixes #963.