Updated build_from_query_reports to generate locale from labels , query and also from js and py files