C4-PlantUML
C4-PlantUML copied to clipboard
spanish translation
It is posible to have a spanish translation of stereotipes names, person, enterprise, system, boundary, etc?
I have identified SetDefaultLegendEntries but I really dont know how to make changes
Hi @rodverap,
I would not change the stereotypes itself. I would hide the stereotypes and show a translated legend Another simple solution could be that you hide the stereotype (if you don't want to show a legend)
@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
UpdateElementStyle("person", $fontColor=$ELEMENT_FONT_COLOR, $bgColor=$PERSON_BG_COLOR, $borderColor=$PERSON_BORDER_COLOR, $legendText = "persona")
UpdateElementStyle("container", $fontColor=$ELEMENT_FONT_COLOR, $bgColor=$CONTAINER_BG_COLOR, $borderColor=$CONTAINER_BORDER_COLOR,$legendText = "contendor")
UpdateElementStyle("system", $fontColor=$ELEMENT_FONT_COLOR, $bgColor=$SYSTEM_BG_COLOR, $borderColor=$SYSTEM_BORDER_COLOR,$legendText = "sistema")
Person(personAlias, "Persona 1", "Descripción")
Container(containerAlias, "Contenedor 1", "Tecnología", "Opcional descripción")
System(systemAlias, "Sistema 1", "Opcional descripción")
Rel(personAlias, containerAlias, "Label", "Optional Technology")
SHOW_LEGEND()
@enduml
@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
Person(personAlias, "Persona 1", "Descripción")
Container(containerAlias, "Contenedor 1", "Tecnología", "Opcional descripción")
System(systemAlias, "Sistema 1", "Opcional descripción")
Rel(personAlias, containerAlias, "Label", "Optional Technology")
HIDE_STEREOTYPE()
@enduml
I hope it helps, best regards Helmut
Hi @rodverap,
was it useful for you? Can we close the issue?
BR Helmut
Yes this is helpfull Thank you a lot, fell fee to close the issue. (sorry for the delay)