The Ant tasks that communicate with Manager and Host Manager web applications expect that the first line of a successful response starts with "OK -" literally. See AbstractCatalinaTask.java > if (!line.startsWith("OK -")) { As I am looking at translations (at Russian translation, to be specific), I see that some translations break this convention. E.g. I see that sometime it uses "OK-" instead of "OK -". Maybe the tool that is used to import translations into Tomcat source can check that the "OK -" prefix is preserved.
I'd rather see the manager having a proper REST interface with status codes and supplemental JSON responses. I, too, have to parse the messages.
Fixed all the current strings and added a test case to check them going forwards.