change the language generation of ejp to be cross-platform