yuzutech / plantuml

Generate UML diagram from textual description
http://plantuml.com
Other
1 stars 2 forks source link

Calendar language for plantuml gantt charts is ignored #41

Closed JensReuschling closed 5 months ago

JensReuschling commented 5 months ago

The calendar language settings are currently ignored for plantuml gantt charts, so that the calendar labels are always in English

Here is an example where the labels should be in Japanese

@startgantt
language ja
saturday are closed
sunday are closed

Project starts 2024-01-01
[Prototype design end] as [TASK1] requires 19 days
[TASK1] is colored in Lavender/LightBlue
[Testing] requires 14 days
[TASK1]->[Testing]

2024-01-18 to 2024-01-22 are colored in salmon
@endgantt

Expected behavior (as on PlantUML Live Server) image

Current behavior (via kroki) image

Additional context This is not a new feature, as the possibility to set the calendar language in PlantUML Gantt charts has already existed since 2021.

ggrossetie commented 5 months ago

I think we need to add -H:+IncludeAllLocales when generating the single binary : https://www.graalvm.org/latest/reference-manual/native-image/dynamic-features/Resources/#locales