<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 18, 2014 at 11:56 PM, Peng Wu <span dir="ltr"><<a href="mailto:peng.e.wu@gmail.com" target="_blank">peng.e.wu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
  Currently I am analyzing the blueprint of translated message id<br>
generation.[1]<br>
  Recently I just found that there is an implementation to generate both<br>
English and translated log messages.<br>
  I think if English and translated log messages are provided, then we<br>
don't need to generate a message id for log messages.<br>
<br>
  My question is about Rest API messages translation. If we will return<br>
both English and translated Rest API message, then we don't need to<br>
generate a message id for Rest API message, either.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">I don't think we plan to return both messages. My understanding was we would return messages in the locale specified by the headers sent from the client (assuming those translations are available).</div>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  And currently message id generation blueprint is only for log message<br>
and translated Rest API message. If we provide both English and<br>
translated messages, then we don't need to generate any message id for<br>
messages. Because we just need to read the English log and Rest API<br>
messages.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">There may still be utility in documenting messages with a message id. For example, a message id wouldn't change even if the wording of a message changed slightly (to add more context information, for example).</div>
<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Doug</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
  Feel free to comment it.<br>
<br>
Thanks,<br>
  Peng Wu<br>
<br>
Refer URL:<br>
[1] <a href="https://blueprints.launchpad.net/oslo/+spec/log-messages-id" target="_blank">https://blueprints.launchpad.net/oslo/+spec/log-messages-id</a><br>
[2]<br>
<a href="https://blueprints.launchpad.net/oslo/+spec/log-messages-translation-domain" target="_blank">https://blueprints.launchpad.net/oslo/+spec/log-messages-translation-domain</a><br>
<br>
<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div></div>