\RequirePackage{ifthen}

\newboolean{translate@boolean@french}
\setboolean{translate@boolean@french}{true}

\DeclareOption{english}{
  \setboolean{translate@boolean@french}{false}
}%

\ProcessOptions\relax%
\ifthenelse{\boolean{translate@boolean@french}}{
  \RequirePackage{translator}
  \uselanguage{French}
  \languagealias{french}{French}
  \usedictionary{translator-theorem-dictionary}
  \usedictionary{translator-basic-dictionary}
  \providetranslation{Progress}{Avancement}
  \providetranslation{Assignment}{Contr\^ole}
  \providetranslation{First name}{Pr\'enom}
  \providetranslation{Last name}{Nom}
  \providetranslation{Correction}{Correction}
}{
  \RequirePackage{translator}
  \uselanguage{English}
  \languagealias{english}{English}
  \usedictionary{translator-theorem-dictionary}
  \usedictionary{translator-basic-dictionary}
  \providetranslation{Progress}{Progress}
  \providetranslation{Assignment}{Assignment}
  \providetranslation{Correction}{Correction}
}
