Add language parameter to public API for getL10N()

Fix #9756
Merge pull request #9757 from owncloud/issue/9756

Add language parameter to public API for getL10N()