.po to .mo convertor in php?

后端 未结 2 1924
深忆病人
深忆病人 2021-01-21 02:46

i want a PHP script which can convert .po(Portable Object) as .mo(Machine Object) file? is any script available in PHP?

               


        
2条回答
  •  遇见更好的自我
    2021-01-21 03:14

    I have not tried it, but it looks like this PEAR package might help you. It is unmaintained, but maybe you can be the new maintainer?

    If you can read Python, then you can take a stab at converting their msgfmt.py script to PHP. It's only 200 lines or so.

提交回复
热议问题