List<NutResource> nrs = entry.getValue();
String langType = entry.getKey();
// 循环读取该语言的文件夹
for (NutResource nr : nrs) {
// 读取多行属性
MultiLineProperties p = new MultiLineProperties();
Reader r = nr.getReader();
p.load(r);
r.close();
// 获取当前语言的 Map
Map<String, Object> msgs = re.get(langType);
if (null == msgs) {
msgs = new NutMessageMap();
re.put(langType, msgs);
}
// 将本地化字符串增加到当前语言
for (String key : p.keySet()) {
String str = p.get(key);
Segment seg = (new CharSegment()).valueOf(str);
if (seg.keys().isEmpty())
msgs.put(key, str);
else
msgs.put(key, seg);