Set locale based on browser preference + sample translations.

locale setting based on browser preference for demo

work for #1008

http://youtu.be/l0_LRMd9Kmg