Use public api for getting l10n

Most boring PR possible...

cc @MorrisJobke @tomneedham @DeepDiver1975