Updating i18n String API implementation to take the new config schema into account.

Note: existing translations from 2.x will be honored.