Need help with active the right tab

Hi guys,

I wonder if there is any way that I can make a tab open by default based on domain extension?
Lets say I have domain.com & the tab set to English by default, but when people access with the domain.jp, the Japanese tab will be active by default?

Thank you!