Physical AI and Humanoid Robotics Book
Translation Feature Demo
Welcome to our English-to-Urdu translation feature! Click the language toggle button (🇬🇧/🇵🇰) in the top right corner of the navigation bar to switch between English and Urdu.
Features
- Instant Translation: Click the language button to instantly translate the page
- Offline Support: Common words are translated offline from our dictionary
- API Fallback: Extended text is translated via MyMemory Translated API
- Persistent: Your language choice is saved in browser storage
How to Use
- Look for the language button in the top right
- Click to toggle between English and Urdu
- The page content will update automatically
- Your preference is saved for next visit
Supported Words
- Home
- Documentation
- Blog
- Dashboard
- Settings
- Sign In
- Sign Out
Technical Details
This translation feature uses:
- React Context API for state management
- MyMemory Translated API for online translation
- Offline dictionary for common words
- LocalStorage for language preference
Try clicking the language button now! 🇵🇰