LPS-35872  Setup custom languages as available, restoring previous state at the end