I18n.js never exported current locale.

Implements https://www.openproject.org/issues/1281