Safer way to set the language of the EPUB3 navigation document. With the...

... previous way, no language attribute was retrieved from the result of the internationalization, but perhaps the goal was also to remove the language variant (e.g. 'en-us' to 'en')?