there are other places where Locale.ENGLISH is used.

On Jul 2, 2013, at 11:09 AM, Leonard Ehrenfried <notifications@github.com> wrote:

> In java-client/src/main/java/io/sphere/client/model/LocalizedString.java:
> 
> > +            if (locales.isEmpty()){
> > +                output = "";
> > +            }
> > +            else {
> > +                loc = Iterables.get(locales, 0);
> > +                output = strings.get(loc);
> > +            }
> > +        }
> > +        return output;
> > +    }
> > +
> > +    /**
> > +     * @return If the localized string contains only one translation it returns this. If there are more than one
> > +     * a random one will be returned. If there are no translations an empty string is returned.
> > +     */
> > +    @Nonnull public String get(){ return get(Locale.ENGLISH); }
> I know it doesn't look like it but this is actually not meant to return the English translation but the only one. Maybe I will refactor this and make the intent more clear.
> 
> —
> Reply to this email directly or view it on GitHub.
>