This script will go through every site collection within a web app and it will activate other supported ui cultures if multi language is supported. To support multi language on all site collections just use line #19, this will activate multilingual support.
You only have to edit line #15 "$webApp = WEBAPP". Change "WEBAPP" to the actual web application you want to crawl through.