Fixes #3504. Allows for localization strings to be considered before client-side lang compilation. Credit to @bombozama