Guide · Website content
Multilingual websites in India: how to add Hindi and regional languages without confusing visitors or Google
To add Hindi or a regional language to your website, translate the pages each language group actually uses first, such as admissions, fees, timings, services and contact. Give each language its own URL, for example a /hi/ folder, and keep one language per page instead of stacking English and Hindi side by side, because Google works out a page's language from its visible text. Add a language switcher labelled in each language's own script that links to the same page in the other language, and don't redirect visitors automatically. Use hreflang links so Google shows the right version, set the HTML lang attribute for screen readers, use Unicode text with a font that renders the script correctly, have a fluent speaker review every translation, and update all language versions together.
If many of the people you serve read Hindi, Bengali, Tamil, Marathi, Assamese or another Indian language more comfortably than English, an English-only website quietly shuts them out. A parent deciding on admissions, a patient checking clinic timings or a village volunteer looking for your helpline will trust and act on information they can read easily. India's Constitution lists 22 languages in its Eighth Schedule, and plenty of organisations serve communities across two or three of them.
Adding a language is not just a translation job, though. Done badly, it produces pages that search engines can't sort out, visitors who land on the wrong version, broken characters, and translated pages that go out of date within a month. This guide explains how to plan a bilingual or multilingual website, how to structure it so Google shows the right version to the right person, how to get the translation itself right, and how to keep it maintained. It is based on Google Search Central's documentation on multilingual sites and the W3C's internationalisation and accessibility guidance.
Decide which pages need which language
Start with your visitors, not your sitemap. Most small organisations don't need every page in every language. They need the pages that people in each language group actually use.
- Schools: admissions steps and dates, the fee structure, the academic calendar, notices and circulars, transport and contact details. Parents who are more comfortable in a regional language often need exactly these pages.
- Clinics: services and treatments, timings, how to book, what to bring to a first visit, location and emergency contact. Patients reading in their first language make fewer mistakes about times and instructions.
- NGOs: what you do and for whom, how to get help, how to volunteer, and contact details. Beneficiary-facing pages often matter more in the local language than donor-facing pages, which may be read mostly in English.
Write the list down: page, languages, who updates each version. A smaller set of well-kept translated pages beats a fully translated site where half the regional-language pages are a year out of date. If notices change weekly, plan who translates them every week before you promise them in two languages.
Give every language its own URL
Google recommends using different URLs for each language version of a page, rather than switching the language with cookies or browser settings on the same URL. If content changes based on the visitor's settings, Google may not find all your versions, because its crawler usually sends requests without an Accept-Language header and mostly crawls from the USA.
The common options are:
| Structure | Example | Good for |
|---|---|---|
| Subfolder | example.org/hi/admissions | Most small sites: one domain, one hosting setup, easy to manage |
| Subdomain | hi.example.org/admissions | Sites where each language is run separately |
| Separate domain | example.in plus example.org | Usually more cost and work than a small organisation needs |
| URL parameter | example.org/admissions?lang=hi | Google lists this as not recommended |
For a typical school, clinic or NGO, subfolders are the simplest choice: keep English at the root (or under /en/) and put each additional language in its own folder such as /hi/, /bn/ or /ta/. Google says it's fine to use local-language words in URLs as long as they are UTF-8 encoded and properly escaped, but plain, short Latin-letter slugs are easier to share on WhatsApp and to type.
Keep one language per page
This is the mistake we see most often on bilingual Indian sites: English and Hindi paragraphs stacked one after another on the same page. It feels efficient, but Google's guidance is clear. Google uses the visible content of a page to work out its language, not the lang attribute or the URL, and it recommends using a single language for content and navigation on each page and avoiding side-by-side translations.
Side-by-side pages also make each version harder to read on a phone, because visitors have to scroll past a language they don't need. The fix is simple: one page in English, a matching page in Hindi, each with its menu, buttons and footer in that language, and a link between them.
Two related points from Google's documentation:
- Translating only the template (menu and footer) while the main text stays in English doesn't create a real language version. Google treats localised pages as duplicates when the main content remains untranslated.
- A short phrase in another language inside a page is fine, such as a school motto in Sanskrit or a programme name in Assamese. Mark it up as described below.
Let visitors choose, and never auto-redirect
It's tempting to detect a visitor's language or location and send them straight to the "right" version. Google advises against it: don't automatically redirect people from one language version to another based on what you think their language might be, because it can stop both users and search engines from seeing all versions. Google also warns that location detection from IP addresses is unreliable.
Instead, add a clear language switcher on every page:
- Put it in the header, where people expect it, and repeat it in the footer.
- Label each option in its own language and script, for example "English", "हिन्दी", "বাংলা", "தமிழ்". A Tamil reader looks for "தமிழ்", not "Tamil".
- Avoid flags. Flags represent countries, not languages, and several Indian languages are spoken across state and national borders.
- Link each page to the same page in the other language, not to the other language's homepage. A parent reading the English fee page who switches to Hindi should land on the Hindi fee page.
- Where a page has no translation yet, link to the closest equivalent or the language homepage, and say so.
Tell Google which pages are translations of each other
Once each language has its own URL, use hreflang annotations to tell Google which pages are versions of the same content. Google can then show the Hindi page to someone searching in Hindi and the English page to someone searching in English. Google supports three equivalent methods: <link> tags in the page head, HTTP headers, or your XML sitemap. Pick one.
With HTML tags, each annotation is a <link rel="alternate" hreflang="…" href="…"> element in the page head. For an English and a Hindi admissions page, the head of both pages would carry the same three links:
| hreflang value | href (the page it points to) | Meaning |
|---|---|---|
en | https://example.org/admissions | English version |
hi | https://example.org/hi/admissions | Hindi version |
x-default | https://example.org/admissions | Fallback for all other languages |
The rules that trip people up, all from Google's documentation:
- Each version must list itself and every other version. If the English page points to the Hindi page but the Hindi page doesn't point back, Google ignores the pair.
- Use full URLs, including
https://, never relative paths. - Use valid codes. The language code must be ISO 639-1, such as
hi(Hindi),bn(Bengali),ta(Tamil),te(Telugu),mr(Marathi),gu(Gujarati),kn(Kannada),ml(Malayalam),pa(Punjabi),or(Odia),as(Assamese) orur(Urdu). You can add a region, as inhi-IN, but a country code on its own is not valid. - Use
x-defaultfor the fallback page shown to people whose language you don't offer, usually your main English page or a language-selection page.
Each language version should also have its own canonical tag pointing to itself, not to the English page. Pointing the Hindi page's canonical to the English page tells Google the Hindi page is a duplicate, which is the opposite of what you want. After launch, check the pages in Google Search Console. Our Search Console setup guide explains how to inspect a URL and submit a sitemap.
Declare the language in the code, for browsers and screen readers
Google doesn't use the HTML lang attribute to detect language, but browsers and assistive technology do. The W3C recommends always declaring the page's language on the <html> element, for example <html lang="hi"> on Hindi pages and <html lang="en"> on English pages. Screen readers use it to choose the right pronunciation, and browsers use it to choose fonts and handle text correctly.
It's also an accessibility requirement. WCAG 2.2 success criterion 3.1.1, Language of Page, is Level A, and 3.1.2, Language of Parts, is Level AA, which means marking up phrases in a different language, such as <span lang="as">…</span> around an Assamese phrase on an English page. Our accessibility guide covers the other basics.
Get the scripts, fonts and text right
Indian scripts need a little technical care to display properly on every phone:
- Use Unicode text, encoded as UTF-8. The W3C recommends UTF-8 for all web content. Never paste text typed in an old legacy font that maps Hindi letters onto English keys. It looks right on the author's computer and turns into nonsense everywhere else, and search engines and screen readers can't read it.
- Use real text, not images of text. A notice saved as a JPEG of Hindi text can't be searched, translated, zoomed cleanly or read aloud. The same applies to scanned PDFs: publish the important information as page text and attach the PDF only as a copy.
- Choose a font that covers the script. Google's Noto font family was designed to cover a very wide range of the world's scripts, including Devanagari, Bengali, Tamil, Telugu, Gujarati, Gurmukhi, Kannada, Malayalam and Odia. Check that conjuncts and vowel signs render correctly; a font that only "supports" a script at a basic level can break them.
- Give the text room. Indic scripts often need more line height than English, and translated labels can be longer or shorter than the English ones. Test buttons and menus in each language on a small phone screen.
- Keep numbers and dates unambiguous. Decide whether you'll use international digits or the script's own numerals, and be consistent. For dates, write the month as a word to avoid confusion between formats.
Translation quality: people first, machines second
Machine translation tools are a useful first draft, but they are not a finished translation, especially for school rules, fee terms, medical instructions or anything legal. Errors in these pages cause real problems: a misunderstood fee deadline, a wrong fasting instruction before a procedure, or a donor told the wrong thing about tax receipts.
Google's spam policies list "scaled content abuse" as a problem, and one of its examples is generating many pages through automated transformations such as translation where little value is provided to users. A handful of carefully reviewed translated pages is the opposite of that, but bulk auto-translating hundreds of pages and publishing them unchecked is a risk for both quality and search.
A workable process for a small team:
- Write the English (or source) version in plain language first. Short sentences and common words translate far better than jargon.
- Draft the translation, by a staff member, a volunteer or a tool.
- Have a fluent speaker review it, ideally someone who knows your field. For clinics, that means someone who understands the medical terms; for schools, someone who knows how parents in your area actually talk about admissions.
- Use the words your visitors use. Very formal, Sanskritised Hindi or textbook Bengali can be harder for many readers than everyday language. Where people commonly use an English word, such as "admission", "fees" or "OPD", it is often clearer to keep it.
- Read it on a phone before publishing, in the actual page layout.
Think about search terms, too. People search for the same thing in different ways: in English, in the native script, and sometimes in Hindi or another language typed in Roman letters. Write each page naturally in its language, and make sure page titles and headings use the words people would type. Our guide to getting cited in AI answers explains why clear, answer-first pages matter for AI search as well as Google.
Keep the versions in step
The hardest part of a multilingual site is not launching it. It is keeping it accurate a year later. A Hindi fee page that still shows last year's fees does more harm than having no Hindi page at all.
- Assign an owner for each language, with a named backup.
- Update both versions together. Make "translate and publish" part of the same task as the English update, not a separate job for later.
- Date your notices and fee pages in every language, so readers can see they are current.
- Review once a term or quarter: open each translated page next to its English version and check that dates, fees, phone numbers and timings match.
- Translate the small things too: form labels, error messages, the thank-you message after a form is sent, and the alt text on images.
- Keep the Google Business Profile consistent. Your name, address and phone number should match across languages. See our Google Business Profile guide.
Multilingual website checklist
- A written list of which pages are translated into which language, and who owns each.
- Each language on its own URL, ideally a subfolder such as
/hi/. - One language per page, including menus, buttons and footer.
- A language switcher on every page, labelled in each language's own script, linking to the equivalent page.
- No automatic redirects based on browser language or location.
hreflanglinks on every version, listing itself and all others, with full URLs and valid codes, plusx-default.- A self-referencing canonical tag on each language version.
langattribute set correctly on every page, and on phrases in another language.- Unicode UTF-8 text, real text instead of images, and a font that renders the script correctly.
- Translations reviewed by a fluent speaker; no bulk unreviewed machine translation.
- A quarterly check that every language version shows the same dates, fees and contact details.
How PageKo fits in
PageKo's Pro plan includes one extra language, along with up to 20 pages and a news, notices or reports section. That suits a school or NGO that wants an English site with a matching Hindi or regional-language version of its key pages. The features of each plan are listed side by side on our pricing page.
PageKo builds, hosts and maintains your full website free for 3 months from launch, with no card needed and no automatic charge. You can use a domain you own or a free name.pageko.com subdomain, and trial sites carry a small linked footer credit to PageKo.com. After the trial, paid plans start at ₹999 a month plus applicable taxes, and we talk before anything changes. See pricing and trial terms.
The PageKo team
Frequently asked questions
Should English and Hindi be on the same page or separate pages?
Separate pages. Google says it determines a page's language from the visible content and recommends one language per page, avoiding side-by-side translations. Put each language on its own URL, such as /admissions and /hi/admissions, and link the two with a language switcher and hreflang annotations.
What is hreflang and do small sites need it?
hreflang is an annotation that tells Google which pages are translations of each other, so it can show the right language version in search results. If you have the same page in two or more languages, it's worth adding. Each version must list itself and every other version with full URLs, or Google ignores the pair.
Can we use Google Translate or another tool to translate the website?
As a first draft, yes. But have a fluent speaker who understands your field review every page before publishing, especially fees, rules and medical instructions. Google's spam policies list mass-produced automated translations that add little value as an example of scaled content abuse.
Should the website switch language automatically based on the visitor's browser?
No. Google advises against automatically redirecting users between language versions based on their language or location, because it can stop people and search engines from seeing all versions. Offer a clear language switcher instead.
Which language codes should we use for Indian languages?
Use ISO 639-1 codes, such as hi for Hindi, bn for Bengali, ta for Tamil, te for Telugu, mr for Marathi, gu for Gujarati, kn for Kannada, ml for Malayalam, pa for Punjabi, or for Odia, as for Assamese and ur for Urdu. You can add a region, as in hi-IN, but a country code alone is not valid.
Do we need to translate every page?
No. Start with the pages each language group uses most, and translate fewer pages well rather than every page badly. Out-of-date translated pages, such as last year's fees in Hindi, do more harm than having no translation.
Sources
- Google Search Central, Managing multi-regional and multilingual sites (separate URLs, visible content determines language, one language per page, no automatic redirects, URL structures).
- Google Search Central, Tell Google about localized versions of your page (hreflang methods, return links, language codes, x-default).
- Google Search Central, Spam policies for Google web search (scaled content abuse, automated translation).
- W3C Internationalization, Declaring language in HTML, Language tags in HTML and XML and Choosing and applying a character encoding.
- W3C WAI, Understanding SC 3.1.1 Language of Page and Understanding SC 3.1.2 Language of Parts.
- Google Fonts, Noto (script coverage).
- Legislative Department, Government of India, The Constitution of India (Eighth Schedule languages).