Locale API updates

cbugg: close bug-874