Add locale fallback in backend JavaScript.

If you're not in the main site, you wan't fallback translations from the
main site. We don't want not-filled-in labels for a language we have all
translations for.