I wish I hadn't gone there


I would like to translate this pattern "I wish I had/hadn't done XXX",
precisely within this context: I went somewhere and I wish I actually hadn't.

I could come up with:

> 行かなければ良かったです

Whereas Google Translate says:

> 私はそこに行っていなかったことを願っています。

Who's right and are there different ways to express this?




Most naturally, it would be:

> 「行かなければよかった。」

Colloquially and naturally,

> 「行かなきゃよかった。」

The Google Translate has given you gibberish this time as it usually does. It
makes little sense as it means:

"I pray that I did not go there."

The speaker does not even know if he went or not.




Most naturally, it would be:

> 「行かなければよかった。」

Colloquially and naturally,

> 「行かなきゃよかった。」

The Google Translate has given you gibberish this time as it usually does. It
makes little sense as it means:

"I pray that I did not go there."

The speaker does not even know if he went or not.

