Handle RTL sentences on "Not found" page
A little refactor of find of language writing direction