In this task, you are given a sentence or phrase in English. You must translate it to Xhosa in a way that is equivalent in terms of meaning and grammatically correct.

Example Input: It will also enable him to take the best measures for ensuring the safety of his vessel.
Example Output: Ingenza abe nacho ukuthatha owona mlinganiselo ulungileyo ukuqinisekisa ukhuseleko lwenqanawa.

Example Input: H.D.M.L.s, were used for harbour defence.
Example Output: IH.M.D.L zasetyenziselwa ukukhusela ichweba.

Example Input: On the other hand, the ports were close to the water.
Example Output:
Kwesinye isandla, amaxweme la akufutshane namanzi.