init resource's language switcher