added Japanese detection