List down the uuid for legacy cards and the foreign language of these cards.
legacy card refers to format = 'legacy'; foreign language refers to language in foreign_data
SELECT T1.uuid, T3.language FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid INNER JOIN foreign_data AS T3 ON T1.uuid = T3.uuid WHERE T2.format = 'legacy'