code: function addLocale(context, payload) {
        context.commit({
          type: 'ADD_LOCALE',
          locale: payload.locale,
          translations: payload.translations
        });
      }
docs: add or extend a locale with translations