Added locale support for xdash.

Added locale support for xdash.