[ticket/12961] Refactor lang entry

PHPBB3-12961