fis3-parser-po
将po文件转为json,使用pofile进行转换
使用配置
fis; // 处理语言文件*.pofis; // 默认配置,可以通过配置来调整生成的json的大小和格式defConf = // 配置po的全局属性 global: comments: false headers: false // 配置item item: comments: true msgstr: true msgctxt: true msgid_plural: false references: false comments: false extractedComments: false flags: false // 格式 format: space: ' ' ext: // 是否打包成模块 module: true ;
关于详细的配置属性请参考:pofile。