Get locale from html page