added method `getLanguage`

this is needed to complete the reactivity added to @language