After a while I've figured out how you could do it. You just need to use Localization tool (which comes with SWBF Modding Tools) and create the following scopes/keys:
After creating these you have to write the name you want to show up in-game and save it.
Note that entity and side are scopes, but inf_<heroUnitName> is a key, which refers to the ODF file you included in your mod.
I also recommend you to have a look here if you want to know more about how localization works.
(Sorry for the late post)
Code Select
entity -> <side> -> inf_<heroUnitName>
After creating these you have to write the name you want to show up in-game and save it.
Note that entity and side are scopes, but inf_<heroUnitName> is a key, which refers to the ODF file you included in your mod.
I also recommend you to have a look here if you want to know more about how localization works.
(Sorry for the late post)