Language Targeting
Language targeting is serving content in the languages your audience uses and signaling those versions to search engines, mainly through hreflang.
What is Language Targeting?
Language targeting is the practice of publishing content in the languages your audience uses and signaling those language versions to search engines so each user sees the right one. In SEO it mainly involves separate URLs for each language, hreflang annotations that connect equivalent pages, and fully translated, localized content.
For B2B SaaS companies selling globally, language targeting decides whether a French IT director finds your French product page or bounces off an English one. In paid search, the term also refers to Google Ads language settings, which control which users’ language preferences an ad can match.
How it works
- Pick languages based on demand. Use market data, Search Console country data and sales priorities.
- Choose a URL structure. Subfolders (
/fr/), subdomains (fr.example.com) or ccTLDs (example.fr). Each language version needs its own URL. - Translate and localize. Translate the full page, including navigation, and adapt examples, terminology and pricing.
- Add hreflang. Mark each page with its language (and optionally region) and list all alternates, including a self-reference and an
x-defaultfallback. - Make language obvious. Use one language per page; Google determines language from visible content.
- Offer a switcher. Link every version to its equivalents with a visible language selector.
Examples
- A cybersecurity vendor publishes
/de/and/fr/versions of its product pages, with hreflang linking each to the English original and anx-defaultpointing to the global page. - A DevTools company serves Spanish-language docs at
/es/for all Spanish speakers, using the language-only hreflang codees, rather than separate versions per country. - A SaaS company finds Google indexing pages that mix English body text with translated navigation as English pages, and fixes it by fully translating them.
Best practices
- Translate the whole page, not just the template.
- Use hreflang consistently and make annotations reciprocal (each page references the others).
- Keep the
langattribute accurate for accessibility, even though Google does not use it for language detection. - Localize metadata: titles, descriptions and URL slugs where appropriate.
- Have native speakers review machine translations for technical accuracy.
Common mistakes
- Automatic redirects by browser language or IP.
- Missing return links in hreflang, which causes annotations to be ignored.
- Side-by-side translations on one page.
- Canonicalizing all language versions to the English page, which tells Google to ignore them.
Language targeting and AI search
AI assistants answer in the user’s language and favor sources in that language when available. If your product only has English content, AI answers in German or Japanese may cite local competitors or translated third-party sources instead. Tracking AI visibility by language shows where localized content would help most.
Related terms
- Hreflang Tags
- Geo-Targeting
- Multilingual Keyword Research
- Localized Landing Pages
- International SERPs
- Global SEO Strategy
Sources
- Managing multi-regional and multilingual sites, Google Search Central
- Tell Google about localized versions of your page, Google Search Central
- International SEO guide, Ahrefs
Frequently asked questions
What is the difference between language targeting and geotargeting?
Language targeting serves content by language, such as Spanish, regardless of country. Geotargeting serves content to a specific country, such as Mexico. Many sites combine both, for example es-MX and es-ES versions, and hreflang supports language-only codes as well as language plus region codes.
Does Google use the HTML lang attribute?
Google says it determines page language from the visible content and does not use code-level language information such as the lang attribute. The attribute is still important for accessibility, screen readers and browser translation, so keep it accurate, but rely on hreflang and real translated content for search.
Should I automatically redirect users based on language?
Google advises against automatic redirection based on perceived language or location, because it can stop users and crawlers from reaching all versions. Instead, show a banner suggesting the matching version and provide a visible language switcher that links to each version.