Currently, substitutions are done only for a single file. This logic should be applied to the whole project to speed up translation even more.