Barcelona forward Alexis Sanchez has been ruled out for four weeks after sustaining a foot injury on international duty.