XWIKI-8938: Translated title is overwritten by the default translation title when editing a document section
* Add method to set the list of supported languages.
* Fix the name of the method that sets the default language.