Select default branch by IP - refs BT#8566
Add proper translation to In-Out - refs BT#8566