moving language_option_links helper to complex scripts