<font size=3>Response marked with >> below.</font>
<br>
<br><font size=3>Jay</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">Doug Hellmann <doug.hellmann@dreamhost.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">"OpenStack Development
Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org>,
</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">02/19/2014 09:22 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">Re: [openstack-dev]
[oslo] Some questions about Rest API and log messages translation</font>
<br>
<hr noshade>
<br>
<br>
<br>
<br><font size=3><br>
</font>
<br><font size=3>On Tue, Feb 18, 2014 at 11:56 PM, Peng Wu <</font><a href=mailto:peng.e.wu@gmail.com target=_blank><font size=3 color=blue><u>peng.e.wu@gmail.com</u></font></a><font size=3>>
wrote:</font>
<br><font size=3>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.</font>
<br>
<br><font size=2>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).</font>
<br><font size=3> >> You are correct Doug.  The REST API
responses will be in the default locale unless a different 'Accept-Language:
' is set.  Then the translated response will be returned.</font>
<br>
<br><font size=3>  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.</font>
<br>
<br><font size=2>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).</font>
<br>
<br><font size=2>Doug</font>
<br>
<br><font size=3> </font>
<br><font size=3><br>
  Feel free to comment it.<br>
<br>
Thanks,<br>
  Peng Wu<br>
<br>
Refer URL:<br>
[1] </font><a href="https://blueprints.launchpad.net/oslo/+spec/log-messages-id" target=_blank><font size=3 color=blue><u>https://blueprints.launchpad.net/oslo/+spec/log-messages-id</u></font></a><font size=3><br>
[2]</font><font size=3 color=blue><u><br>
</u></font><a href="https://blueprints.launchpad.net/oslo/+spec/log-messages-translation-domain" target=_blank><font size=3 color=blue><u>https://blueprints.launchpad.net/oslo/+spec/log-messages-translation-domain</u></font></a><font size=3><br>
<br>
<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:OpenStack-dev@lists.openstack.org"><font size=3 color=blue><u>OpenStack-dev@lists.openstack.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target=_blank><font size=3 color=blue><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</u></font></a>
<br><tt><font size=2>_______________________________________________<br>
OpenStack-dev mailing list<br>
OpenStack-dev@lists.openstack.org<br>
</font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><tt><font size=2>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></tt></a><tt><font size=2><br>
</font></tt>
<br>