Open JasonThomasData opened 8 years ago
I suggested this to SSI on Monday, July 4 and they thought this was a good idea.
I've also been digging around for a gem to detect the browser's default language in the request header. This is looking like a good option. https://github.com/iain/http_accept_language
Users may like to change their language.
Use case - If on the '/ar/' page and the detected browser language is English, offer to translate. If the user is on '/ar/' page and the detected language is Arabic, do nothing. If the user is on '/en/' page and the detected language is Arabic, offer to translate.