Re: [openstack-dev] [oslo] need input on new config option for logging translations

2014-01-15 Thread Luis A. Garcia
On 1/15/2014 12:39 PM, Doug Hellmann wrote: Based on the discussion with the other PTLs at the release meeting yesterday, I'm going to recommend that we create an example logging.conf file and documentation to go with it, and not add the new option. I am seeing that neutron does not even ship

Re: [openstack-dev] [oslo] need input on new config option for logging translations

2014-01-14 Thread Luis A. Garcia
On 1/14/2014 6:59 AM, Doug Hellmann wrote: [snip] I think the reason for this is simply user convenience. It's easier for the user to just set one of those log properties from the project.conf, and the "heavy lifting" such the creation of specific: Logger, LogHandler, LogFormatt

Re: [openstack-dev] [oslo] need input on new config option for logging translations

2014-01-13 Thread Luis A. Garcia
On 1/13/2014 1:47 PM, Doug Hellmann wrote: There's a review in Oslo to provide a configuration option to turn on the ability to log in a second language by specifying the locale (https://review.openstack.org/#/c/62508/). Given the recent discussion of adding more configuration options, I wanted

Re: [openstack-dev] [oslo] i18n Message improvements

2013-10-18 Thread Luis A. Garcia
On 10/17/2013 10:13 AM, John S Warren wrote: [snip] Instead of faking unicode behavior, I'm suggesting that we use its functionality in Message as-is, only overriding the __mod__ method in order to support translation in downstream code. In short, the Message class would differ from unicode in on

Re: [openstack-dev] [oslo] i18n Message improvements

2013-10-17 Thread Luis A. Garcia
On 10/17/2013 12:24 PM, John Dennis wrote: On 10/17/2013 12:22 PM, Luis A. Garcia wrote: On 10/16/2013 1:11 PM, Doug Hellmann wrote: [snip] What you're describing sounds a lot like problems that result from the fact Python's default encoding is ASCII as opposed to the more sensibl

Re: [openstack-dev] [oslo] i18n Message improvements

2013-10-17 Thread Luis A. Garcia
On 10/16/2013 1:11 PM, Doug Hellmann wrote: [snip] Option 3 is closer to the new plan for Icehouse, which is to have _() return a Message, allow Message to work in a few contexts like a string (so that, for example, log calls and exceptions can be left alone, even if they use % to combine a tran

Re: [openstack-dev] [Oslo] Blocker for API translation changes

2013-07-29 Thread Luis A. Garcia
Oslo-Cores, Friendly reminder about this one: https://review.openstack.org/#/c/38201/ Thank you, On 7/24/2013 10:21 AM, Luis A. Garcia wrote: Hi Oslos, I have a refactoring for common code needed to implement REST API translations. The change is a bit of a blocker for multiple other changes

[openstack-dev] [Oslo] Blocker for API translation changes

2013-07-24 Thread Luis A. Garcia
Hi Oslos, I have a refactoring for common code needed to implement REST API translations. The change is a bit of a blocker for multiple other changes across various components, and would just like to see if it could get bumped up a bit in your review queues. https://review.openstack.org/#/