@Nutty I'm a bit surprised... am I the first non-english native player trying this mod?
I receive missing dds file errors when meeting city states, because your code:
local strTraitText = GetCityStateTraitText(minorPlayerID);
local traitIcon = nil;
if bnw_mode then
traitIcon = "CityStatePopupTopCSLBNW".. strTraitText ..".dds";
get the translated string, so "strTraitText" is not "Mercantile" but "Kaufmännisch" in german, resulting in missing dds error.
I will try to find a solution for this, but of course it would be better if you would solve this, since you are more into your code
edit:
I used "MINOR_TRAIT_CULTURED" now, so :
local traittype = GameInfo.MinorCivTraits[trait].Type;
local traitIcon = "CityStatePopupTopCSLBNW".. traittype ..".dds";
and renamed the dds files arcordingly