Mojang requested that both the terms "Piglin" and "Hoglin" are not translated in Java Edition. Source: Official Mojang translation glossary (linked from e.g. here: Piglin translation en → de on Crowdin)
However, on Bedrock Edition, both of these have seemingly been translated to some languages, such as German and Portuguese (Brazil).
For instance, in German, piglins are called "Schweini" ("Piggy") and hoglins are called "Eberli" ("Boary"). Apart from the fact that those mob names should not be translated, these are very horrible translations.
In a similar fashion, in Brazilian Portuguese, piglins are called "Porcolino" and hoglins "Javalino". One Twitter user reported that these translations are incorrect as well: Tweet.