PHP class for working with multi language projects