fix select box locale code outside of the class to keep it generic