f. not to be detained except as a measure of last resort, in which case, in addition to the rights a child enjoys under sections 12 and 35, the child may be detained only for the shortest appropriate period of time, and has the right to be-
<li>lekungavalelwa ejele, ngaphandle uma ngabe sekute lenye indlela, kantsi uma ngabe kudzingekile, ngetulu kulamalungelo umntfwana lanawo ngaphasi kwetigaba 12 na-35, lowo mntfwana angavalelwa kuphela sikhatsi lesifanele lesincane futsi unelilungelo -