Show titles in TOC as configured in manager/languages

A very few modifications in core to get more control about how language is shown in TOC.
The feature requires a first pull request that was submitted with to "ojs" repository.
The aim of the modifications was commented here:
http://pkp.sfu.ca/support/forum/viewtopic.php?f=9&t=13021&p=49967

BTW... is there a way to avoid adding rubbish to pull requests as "lib/swordappv2"?
Sorry for the annoyance. :-(