Since Hepburn was fluent in French, she played the same role (although the character's name was changed).
Hepburn, being fluent in French, took on the same role (although the character's name was altered).