I'm sure that table omits languages in which it looks nothing like "ananas". In Brazilian Portuguese it's "abacaxi". The second response in that question seems to address this.
Is Portuguese your native language? I can’t see how one would pronounce abacaxi in a way that sounds like ananas.
At least for me the following are close phonetically in Portuguese: Abacaxi Anacaxi Ananaxi Ananashi Ananasi
Abacaxi is pronounced ah-bah-kah-SHEE, whereas ananás is pronounced ah-nah-NAHS (depending on the region, the tailing "s" takes the sound of "sh" which is slightly closer but still pretty far). Note that in Portuguese proper pronounciation of the tonic syllable is very important, and in this case the tonic gives each word a very distinct sound.