diff --git a/src/main/java/gregtech/api/fluids/MaterialFluid.java b/src/main/java/gregtech/api/fluids/MaterialFluid.java index 2084f97b4c0..6d128d366ce 100644 --- a/src/main/java/gregtech/api/fluids/MaterialFluid.java +++ b/src/main/java/gregtech/api/fluids/MaterialFluid.java @@ -47,7 +47,15 @@ public String getUnlocalizedName() { @Override @SideOnly(Side.CLIENT) public String getLocalizedName(FluidStack stack) { - String localizedName = I18n.format(getUnlocalizedName()); + String localizedName; + String customTranslationKey = "fluid." + material.getUnlocalizedName(); + + if (I18n.hasKey(customTranslationKey)) { + localizedName = I18n.format(customTranslationKey); + } else { + localizedName = I18n.format(getUnlocalizedName()); + } + if (fluidType != null) { return I18n.format(fluidType.getLocalization(), localizedName); }