且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Java中读取.po文件时出错

更新时间:2022-11-30 15:30:36

来自 http://www.gnu.org/software/gettext/manual/javadoc2/gnu/gettext/GettextResource.html

将GNU gettext消息目录编译为Java ResourceBundle 类,可以使用msgfmt程序.

To compile GNU gettext message catalogs into Java ResourceBundle classes, the msgfmt program can be used.

您是否已使用此实用程序将.po文件转换为可由getBundle读取的资源包?

Have you used this utility to convert your .po file to a resource bundle that can be read by getBundle?