Skip to content
Fourohtwo

text.halowerk.com/v1/xliff-target-reassembly-order

XLIFF target order returns the source positions needed to reassemble reordered translated units. Use it when an agent needs to rebuild units whose target segments explicitly change position.

BaseAnswering
POSThttps://text.halowerk.com/v1/xliff-target-reassembly-order

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://text.halowerk.com/v1/xliff-target-reassembly-order", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"xliff":"<xliff xmlns=\"urn:oasis:names:tc:xliff:document:2.0\" version=\"2.0\" srcLang=\"en\" trgLang=\"de\"><file id=\"ui\"><unit id=\"salute\"><segment><source>Hello </source><target order=\"2\">hallo</target></segment><segment><source>team!</source><target order=\"1\">Team, </target></segment></unit></file></xliff>"}),
});
console.log(await res.json());

Example input

{
  "xliff": "<xliff xmlns=\"urn:oasis:names:tc:xliff:document:2.0\" version=\"2.0\" srcLang=\"en\" trgLang=\"de\"><file id=\"ui\"><unit id=\"salute\"><segment><source>Hello </source><target order=\"2\">hallo</target></segment><segment><source>team!</source><target order=\"1\">Team, </target></segment></unit></file></xliff>"
}