Update Framework.php

Look at filesystem to read available languages instead of relying on an hardcoded array