My code is too much fragment to be posted as it is for a solution here, but what i essentially do is recursively go into each $result and then see where is the 'english' appearing & handle it accordingly, all dynamically. Code is work in progress and we are testing it now, but it works!!
foreach ( recursiveFind($tempF, 'english') as $result) {
For the long term, we shall refactor and find a much better & scalable solution. Thank you all once again!