{"id":8330,"date":"2020-07-26T09:49:29","date_gmt":"2020-07-26T01:49:29","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8330"},"modified":"2020-07-26T09:49:30","modified_gmt":"2020-07-26T01:49:30","slug":"msgen","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/msgen","title":{"rendered":"msgen\u547d\u4ee4 – \u521b\u5efa\u82f1\u6587\u90ae\u4ef6\u76ee\u5f55"},"content":{"rendered":"\n
msgen\u547d\u4ee4\u7528\u4e8e\u521b\u5efa\u82f1\u6587\u90ae\u4ef6\u76ee\u5f55\u3002\u8f93\u5165\u6587\u4ef6\u662f\u6700\u540e\u8f93\u5165\u7684\u82f1\u6587\u90ae\u4ef6\u6216\u8005\u4e00\u4e2a\u90ae\u4ef6\u6a21\u677f\u3002\u8be5\u547d\u4ee4\u53ef\u4ee5\u5feb\u901f\u751f\u6210\u90ae\u4ef6\u6a21\u677f\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>msgen [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u5c06\u76ee\u5f55\u6dfb\u52a0\u5230\u5217\u8868\u4ee5\u8fdb\u884c\u8f93\u5165\u6587\u4ef6\u641c\u7d22\uff1a<\/p>\n\n\n\n \u5c06\u8f93\u51fa\u5199\u5165\u6307\u5b9a\u6587\u4ef6\uff1a<\/p>\n\n\n\n \u5bf9\u4e8e\u9700\u8981\u7279\u5b9a\u8f93\u51fa\u6837\u5f0f\u7684\uff0c\u9700\u8981\u5728\u8f93\u51fa\u4e2d\u4f7f\u7528\u8f6c\u4e49\u7b26\uff1a<\/p>\n\n\n\n msgen\u547d\u4ee4\u7528\u4e8e\u521b\u5efa\u82f1\u6587\u90ae\u4ef6\u76ee\u5f55\u3002\u8f93\u5165\u6587\u4ef6\u662f\u6700\u540e\u8f93\u5165\u7684\u82f1\u6587\u90ae\u4ef6\u6216\u8005\u4e00\u4e2a\u90ae\u4ef6\u6a21\u677f\u3002\u8be5\u547d\u4ee4\u53ef\u4ee5\u5feb\u901f\u751f\u6210\u90ae\u4ef6\u6a21\u677f\u3002 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8330"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=8330"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8330\/revisions"}],"predecessor-version":[{"id":8434,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8330\/revisions\/8434"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-D, --directory<\/td> \u5c06\u76ee\u5f55\u6dfb\u52a0\u5230\u5217\u8868\u4ee5\u8fdb\u884c\u8f93\u5165\u6587\u4ef6\u641c\u7d22
\u5982\u679c\u8f93\u5165\u6587\u4ef6\u4e3a-\uff0c\u5219\u8bfb\u53d6\u6807\u51c6\u8f93\u5165<\/td><\/tr>-o, --output-file<\/td> \u5c06\u8f93\u51fa\u5199\u5165\u6307\u5b9a\u6587\u4ef6<\/td><\/tr> --color<\/td> \u59cb\u7ec8\u4f7f\u7528\u989c\u8272\u548c\u5176\u4ed6\u6587\u672c\u5c5e\u6027<\/td><\/tr> -e, --no-escape<\/td> \u4e0d\u5728\u8f93\u51fa\u4e2d\u4f7f\u7528\u8f6c\u4e49\u7b26\uff08\u9ed8\u8ba4\uff09<\/td><\/tr> -E, --escape<\/td> \u5728\u8f93\u51fa\u4e2d\u4f7f\u7528\u8f6c\u4e49\u7b26\uff0c\u6ca1\u6709\u6269\u5c55\u5b57\u7b26<\/td><\/tr> --force-po<\/td> \u5373\u4f7f\u4e3a\u7a7a\u4e5f\u5199\u5165\u90ae\u4ef6\u6a21\u677f<\/td><\/tr> -i, --indent<\/td> \u7f29\u8fdb\u8f93\u51fa\u6837\u5f0f<\/td><\/tr> --strict<\/td> \u4e25\u683c\u7684\u7edf\u4e00\u8f93\u51fa\u6837\u5f0f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# msgen -D \/directory<\/pre>\n\n\n\n
[root@linuxcool ~]# msgen -o file<\/pre>\n\n\n\n
[root@linuxcool ~]# msgen -E<\/pre>\n","protected":false},"excerpt":{"rendered":"