You can do it in two ways -
- Use Django's own i18n and l10n feature. Provide your own translations and urls to use them.
- Use Google's translation toolbar, that shows an option like you mentioned happens in Google chrome. It'll show a toolbar with translate button with a language option and using it will translate whatever text you have on the page.