# If theres an explicitly translated name then use that
translated_name = community_locale_yaml.dig(community.id, "name")
return translated_name if translated_name
# If not, then look up the default translated name for this type of community, and interpolate the template
# If theres an explicitly translated name then use that
translated_name = community_locale_yaml.dig(community.id, "name")
return translated_name if translated_name
# If not, then look up the default translated name for this type of community, and interpolate the template