Test for environment variable before adding translations support.
Minor style update