build labels automatically by using ransack’s locale file