This whole class can be greatly reduced after latest changes to `ResourceBundle\Extension`