Get language function and tests

https://github.com/phpbb-extensions/boardrules/pull/20 is required