<!doctype html> <html> <head> <script> if (/^ja\b/.test(navigator.language)) { location.href = './view/ja' } else { location.href = './view/en' } </script> </head> </html>