It updates the main language file for a given locale from the canonical one and sets the empty string on the missing keys. No longer used keys are discarded.