Mg is short for meaning group, this means that all the translations under the same meaning group refer to the same semantic concept.
when combining the translations from different dictionaries, it's important to do it based on the meaning groups.