We don't have REST service to add languages and join language teams. Had to add it there for now. 

----- Original Message -----

> From: "Carlos Munoz" <notifications@github.com>
> To: "zanata/zanata-server" <zanata-server@noreply.github.com>
> Cc: "Patrick Huang" <pahuang@redhat.com>
> Sent: Wednesday, June 4, 2014 1:47:08 PM
> Subject: Re: [zanata-server] Optimize copytrans (#484)

> In functional-test/src/main/java/org/zanata/rest/SampleProjectResource.java:
> > @@ -21,6 +21,10 @@
> >      Response makeSampleLanguages();
> >
> >      @PUT
> > +    @Path("/languages/l/{locale}")
> > +    Response addLanguage(@PathParam("locale") String localeId);

> It's starting to look like this class is doing more than creating sample
> projects. Maybe we should change its name.

> —
> Reply to this email directly or view it on GitHub .