added qHash for locale
added parematers to some constructors