Fixes l10nUtil to not run when unneeded. …
Fixes #7800 Moved all top level const values consumed by other scripts into functions.