file.writeTextLines(lines);
}
public void addLocaleEntry(String locale, EntryModel newEntry) {
DataModelEnumeration e = getEnumeration();
while (e.hasMore()) {
EntryModel entry = (EntryModel)e.next();
if (entry.getKey().equals(newEntry.getKey())) {
entry.setLocaleText(locale, newEntry.getValueText());
return ;
}