fix depreciation warning for I18N enforce locals