SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mmZ");
// Add initial headers to the translations
PoTargetHeader transHeader = new PoTargetHeader();
transHeader.getEntries().add(
new HeaderEntry(HeaderFields.KEY_LastTranslator,
"Test User <test@zanata.org>"));
transHeader.getEntries().add(
new HeaderEntry(HeaderFields.KEY_PoRevisionDate, dateFormat
.format(poRevDate.getTime()))); // Date in the future
entity.getExtensions(true).add(transHeader);
// Push the translations
ClientResponse<String> putResponse =