lloc/Multisite-Language-Switcher — comment on commit 7ee90cc6c1b71fbb21574f3ef931ba5f6903913c
File:  line 0
By TobiasBg:

I don't think that moving the output string to the configuration would be necessary, as it can be changed by the filter easily.

I just meant that loading the textdomain (i.e. the language file *.mo) is not necessary on the frontend (because no translated strings are used on the frontend), because loading it is expensive in terms of PHP memory. I think the call to init_i18n_support() should be kept in the is_admin() check. Moving the function to the other file is fine, of course.