Btw idk if this has been confirmed or not but I hope this helps or atleast makes everyone understand.
The reason why Google sucks at translating pretty much anything (specially if it's words with no context like phrases) is because it doesn't make direct translations, it translates any input into English and then the English word to the output.
The problem is that if the word isn't inserted with the context to give it the meaning, it gets lost in the middle.
It goes Input -> English -> Output
As someone portuguese the examples are gonna be from Portuguese to French
EXAMPLE 1: Gorjeta -> tip -> conseil
In this example gorjeta is a tip, but a money tip that you give to delivery people or waitresses
But tip also means a hint or a piece of advice
Then it translates tip to conseil wich means advice and has nothing to do with gorjeta
EXAMPLE 2:
Naipe -> suit -> costume
Naipe means card suit (♣️ ♥️♠️♦️)
It gets translated into suit wich also means the whole fit with a tie and blazer, a suit.
And the outcome is costume, nothing to do with card suits.
So next time you do translations, if you're good with English keep in mind the result might be the other meaning in English of the word you're trying to translate :)