[openstack-dev] Translatable strings in CLIs

Doug Hellmann doug.hellmann at dreamhost.com
Thu May 30 14:27:01 UTC 2013


Should we do this work in the existing clients, or in the unified client?
https://wiki.openstack.org/wiki/UnifiedCLI

Doug


On Wed, May 29, 2013 at 4:10 PM, Hugh Saunders <hugh at wherenow.org> wrote:

> Hi All,
> While reviewing a patch [1] for python-novaclient it was suggested that
> the strings involved should be translatable.
>
> I could only find one string that is translatable within novaclient and
> none within swiftclient or glanceclient. To make all the output of
> novaclient translatable is a reasonably sized project due to the large
> number of strings involved - 460 command help messages for a start.
>
> I raised a bug to track the request [2] but would like some input on the
> best way to approach this.
>   * Do any of the other CLIs have translatable strings, including help
> messages, usage, errors etc?
>   * Are there any cases where a string that is output should not be
> wrapped in _() ?
>   * Any other tricks to do with translation that would be useful to know?
>   * Should this be a blueprint or is a bug ok?
>
> [1] https://review.openstack.org/#/c/30734/
> [2] https://bugs.launchpad.net/python-novaclient/+bug/1185561
>
> --
> Hugh Saunders
>
> _______________________________________________
> 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/ea44a0a0/attachment.html>


More information about the OpenStack-dev mailing list