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: While it is normally desirable for the Captain to handle the ship, with the pilot offering the necessary information, there may be occasions when it will be preferable for the pilot to order the precise movements of the engines and rudder.
Example Output: Nangona kunqweneleka ukuba ulawulo lwenqanawa lube sezandleni, zomphathi, umqhubi yena anike ulwazi oludingekayo, kunokubakho amaxesha apho kukhetheka ukuba umqhubi ibe nguye olawula intshukumo yee-enjini kunye nomphini.

Example Input: painted black.
Example Output: zazipeyintwe mnyama.

Example Input: Cruise of newly-commissioned ship to test machinery and equipment and train crew as a working unit.
Example Output:
Ujikelezo ngenqanawe esandukugunyaziswa ukuba ivavanye oomatshini nezixhobo zayo nokuqeqeshwa kwabasebezi njengeqela elisebenzayo.