Codes / sw

hreflang="sw"

sw is a valid hreflang value for Swahili (macrolanguage).

Example

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

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

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