Formal:
* Sterkte, my vriend. (This is the most common and straightforward translation.)
* Sterkte met jou onderneming, my vriend. (This translates to "Good luck with your undertaking, my friend" and is a more formal way of wishing someone luck.)
Informal:
* Goeie geluk, maat! (This is a more casual way to say "Good luck," but "maat" can be used with close friends.)
* Succes, boet! (This is a very informal expression, "boet" is a slang term for "brother," but it can be used with friends of both genders.)
* Sterkte, ou maat! ("Ou maat" means "old friend" and is a more affectionate way of addressing someone.)
You can also use a combination of these phrases to suit the situation. For example: "Sterkte, my vriend, met jou eksamen!" (Good luck, my friend, with your exam!)