The Arsenal centre half picked up the injury in the Champions League quarter-final first leg game against Barcelona in March and coach Arsene Wenger said at the time that Gallas's season with the club was over.
"I will be ready for France," Gallas told French daily Le Parisien.
"Had it not been possible (to recover on time), I would have pulled out. Right now, I feel good and ready for France."
France were drawn with hosts South Africa, Mexico and Uruguay in Group A for the June 11-July 11 World Cup.
France coach Raymond Domenech is set to unveil his 23-man squad for the World Cup next week.
Thank you for reading 5 articles this month* Join now for unlimited access
Enjoy your first month for just £1 / $1 / €1
*Read 5 free articles per month without a subscription
Join now for unlimited access
Try first month for just £1 / $1 / €1
Get the best features, fun and footballing frolics straight to your inbox every week.
Thank you for signing up to Four Four Two. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.