Added a site locales sql table and started loading sites from database by client locale and then falling back to site default locale.