Split po files:

Items number per file:

Select po file to upload:

This tool is to splitting a large po file into its smaller files, you can control the smaller file size by change the items number per file value.
If you have a large po file with 3000 items, and the items number per file value is set to 100, you will get 30 smaller files.
I make this tool because there is a bug in Wordpress WPML plugin. When I use the po import function for string translation, the large po file couldn't import successfully. After I split it into smaller files, they are imported successfully. Not sure why, but if you are experiencing the same issue, you can try this tool.
This tool used open source project Po Parser to read and export po file. Thanks to Raúl Ferràs.

本工具可以将一个大的PO文件分割为多个小PO文件。可以修改 items number per file的值来控制每个小文件中的词条数。
如果一个大的PO文件里有3000个词条,每个小文件词条数设为100,那么你会得到30个小的PO文件。
之前用wordpress的WPML插件时想用字符串翻译中的Po文件导入功能,结果发现导入大文件时有些问题。我将一个大文件分成多个小文件后,就都成功导入了。
如果你也遇到同样问题,可以试一下这个工具。
本工具使用了开源项目 Po Parser。 感谢Raúl Ferràs.


Dubbo web studio 大宝工作室