[openstack-dev] Translatable strings in CLIs
Doug Hellmann
doug.hellmann at dreamhost.com
Thu May 30 16:02:10 UTC 2013
On Thu, May 30, 2013 at 11:37 AM, Kevin L. Mitchell <
kevin.mitchell at rackspace.com> wrote:
> On Thu, 2013-05-30 at 16:01 +0100, Hugh Saunders wrote:
>
> > On 30 May 2013 15:27, Doug Hellmann <doug.hellmann at dreamhost.com>
> > wrote:
> > Should we do this work in the existing clients, or in the
> > unified client? https://wiki.openstack.org/wiki/UnifiedCLI
> >
> >
> > Interesting, I hadn't come across that. Would make sense to make
> > messages in that translatable.
> >
> >
> > I'd be interested in other opinions on whether it is sufficient to
> > focus effort on the unified cli or if the existing per-project CLIs
> > need translatable messages as well?
>
> If I understand correctly, the unified CLI will be using the other
> packages in library mode, so if any of the API portion of those packages
> raise exceptions, it would be good to have those translatable. Also,
>
For the exceptions messages, that does make sense. I really meant for other
messages produced by the command line apps that weren't in the API clients.
Doug
> I've seen something about making the REST APIs honor the Accept-Language
> HTTP header; it might be worthwhile to investigate how that header might
> be set from the libraries as well.
> --
> Kevin L. Mitchell <kevin.mitchell at rackspace.com>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130530/1d29ab4f/attachment.html>
More information about the OpenStack-dev
mailing list