I've been taught that in Italian an "i" after a "g" is silent and only serves to mark the "g" as having a soft ("j") sound. But in my study I came across bugia and others like strategia, magia and regia in which you can definitely hear the i (links are to forvo's site). Google Translate also has these pronounced that way.
Can someone explain the rule to me? I searched without success.