feat: add react-i18next with English and Hindi locale support.

- Add i18next + react-i18next + i18next-browser-languagedetector.
- EN/HI translation files covering all UI strings across every page and component.
- Language switcher button in Navbar; choice persisted to localStorage.
- document.documentElement.lang synced to active language in App.
- Skip-nav link and #main-content anchor for keyboard accessibility.
- aria-describedby on modal dialog; page title and meta description in index.html.
- Secure page title set to 'BIS SP-21 Standards.'
This commit is contained in:
K
2026-05-03 00:01:14 +05:30
parent 0d8b2cdb3f
commit 8e1348fb63
19 changed files with 781 additions and 272 deletions
+3 -1
View File
@@ -4,9 +4,11 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>client</title>
<meta name="description" content="BIS SP-21 Standards — search and explore Bureau of Indian Standards building material standards." />
<title>BIS SP21 Standards</title>
</head>
<body>
<a href="#main-content" class="skip-nav">Skip to main content</a>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>