code: public CMALocale create(String spaceId, String environmentId, CMALocale locale) {
      assertNotNull(spaceId, "spaceId");
      assertNotNull(environmentId, "environmentId");
      assertNotNull(locale, "locale");
  
      final CMASystem sys = locale.getSystem();
      locale.setSystem(null);
  
      try {
        return service.create(spaceId, environmentId, locale).blockingFirst();
      } finally {
        locale.setSystem(sys);
      }
    }
docs: Create a new locale in the given space and environment.
  <p>
  This method will override the configuration specified through
  {@link CMAClient.Builder#setSpaceId(String)} and
  {@link CMAClient.Builder#setEnvironmentId(String)}.
  
  @param spaceId       the space id hosting the environment.
  @param environmentId the environment id to host the locale.
  @param locale        the new locale to be created.
  @return the newly created locale.
  @throws IllegalArgumentException if space id is null.
  @throws IllegalArgumentException if environment is null.
  @throws IllegalArgumentException if locale is null.