LEGACY is derived from the English word "legacy", which means like "something that happens or exists as a result of things that happened at an earlier time, property that can receive from someone after die". Only in Australia, the sales name is "LIBERTY" because the word "LEGACY" is reminiscent of "war".
B4 have two origins. The first origin is the initials of the "BOXER (horizontal opposed engine)" and "4WD (four-wheel drive system)". The second origin is a coined word that combines "Berlinetta", which means a high-performance car with a closed body with a roof in Italian, and "4", which is the number of doors. However, strictly speaking, "Berlinetta" is a two-door car, and in the case of a four-door legacy, "Berlina" is actually correct.