由于poedit打开po文件时,无法识别译文使用的何种编码,因此需要在po文件头部加上以下代码:

 

msgid ""
msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: zh_CN\n"
"X-Generator: Poedit 1.7.5\n"
"X-Poedit-SourceCharset: UTF-8\n"

 

相关文章:

  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2022-01-13
  • 2021-12-20
  • 2021-04-18
  • 2021-09-17
  • 2021-12-18
猜你喜欢
  • 2021-07-14
  • 2021-12-25
  • 2022-12-23
  • 2021-06-27
  • 2021-12-11
  • 2022-12-23
  • 2021-10-10
相关资源
相似解决方案