Codes / mg

hreflang="mg"

mg is a valid hreflang value for Malagasy.

Example

<link rel="alternate" hreflang="mg" href="https://example.com/mg/" />

The code is case-insensitive for Google. The conventional spelling is a lowercase language, a title-case script and an uppercase region: mg.

Without a region, the annotation targets every Malagasy speaker regardless of country. Regional versions sit next to the language-only version in one cluster.