Add tab localization

Closes #1298