better and automatic language registry system