Chart Language ​
In the class KerykeionChartSVG
, you can set the language for the chart using the chart_language
parameter. This parameter allows you to set the language for the chart, making it more accessible and user-friendly for non-English speakers. The default language is English (EN).
Available Languages: ​
- EN (English)
- FR (French)
- PT (Portuguese)
- ES (Spanish)
- TR (Turkish)
- RU (Russian)
- IT (Italian)
- CN (Chinese)
- DE (German)
To set the language for your chart, use the chart_language
parameter when creating a KerykeionChartSVG
object.
Example Usage ​
python
from kerykeion import AstrologicalSubject, KerykeionChartSVG
# Russian Language Chart
russian_subject = AstrologicalSubject("Mikhail Bulgakov", 1891, 5, 15, 12, 0, "Kiev", "UA")
russian_chart = KerykeionChartSVG(russian_subject, chart_language="RU")
russian_chart.makeSVG()
# Italian Language Chart
italian_subject = AstrologicalSubject("Sofia Loren", 1934, 9, 20, 4, 30, "Rome", "IT")
italian_chart = KerykeionChartSVG(italian_subject, chart_language="IT")
italian_chart.makeSVG()