[Tex/LaTex] Chapter numbering in table of contents

table of contentstitletoctocloft

I have a not so far problem from the question opened here:
Adding word "Chapter" into Table of Contents for only numbered chapter entries

I'm using a "literal numbering for chapters, using the macro:

\newcommand\words[1]{\expandafter\xwords\csname c@#1\endcsname}
\def\xwords#1{\ifcase#1\or
One\or
Two\or
Three\else
I need more words\fi}

%\usepackage{etoolbox} %% uncomment if 'etoolbox' isn't already being loaded
\makeatletter
\patchcmd{\@makechapterhead}{\thechapter}{\words{chapter}}{}{}
\makeatother

So I want to have in my table of contents

Chapter One. The title of the chapter one

Chapter Two. The title of the chapter two…and so

Solutions based on the two packages titletoc and tocloft are wellcome, preventing eventual problems of compatibility, because I'm using bidi package (For example, in the solution based on titletoc, in the question cited, one must change the value of \thecontentslabel command to the "literal" value, I think, but I don't know how !)

enter image description here

Best Answer

A possible solution, but I am sure, this has been answered before

(I took the \cftchapresnum... etc code from Karl Koeller's answer in the link provided by the OP)

\documentclass{book}

\usepackage{fmtcount}
\usepackage{blindtext}
\usepackage[titles]{tocloft}


\usepackage{forloop}

\newcounter{dummycounter}%

\newlength\mylength
\renewcommand\cftchappresnum{\chaptername~}
\renewcommand\cftchapaftersnum{:}
\settowidth\mylength{\cftchappresnum\cftchapaftersnum\quad\quad 5pt}
\addtolength\cftchapnumwidth{\mylength}

\usepackage{etoolbox}%


\makeatletter
\pretocmd{\@chapter}{\begingroup \renewcommand{\thechapter}{\Numberstring{chapter}}}{}{}
\apptocmd{\@chapter}{\endgroup}{}{}
\makeatother


\begin{document}
\tableofcontents

\forloop{dummycounter}{1}{\value{dummycounter} < 11}{%
\chapter{Some Content of chapter \number\value{dummycounter}}%
\blindtext[5]
}%
\end{document}

enter image description here