Skip to content

Change Language ​

To change the language of the chart you should create a new kr.config.js file and pass it to the BirthChartSVG class. So far the available languages are English, Portuguese, Italian, Spanish, French and Chinese.

python
# Standard settings chart
# Attention: file path is in unix format
standard_settings_chart = KerykeionChartSVG(first, new_settings_file="../settings/kr.config.json")

# Custom settings chart
custom_settings_chart = KerykeionChartSVG(first, new_settings_file="my-path/kr.config.json")

The key in the config that should be updated is:

json
[...]
"general_settings": {
  "language": "ES"
}
[...]

Example of a kr.config.js with Spanish language ​

json
{
  "language_settings": {
    "EN": {
      "info": "Info",
      "cusp": "Cusp",
      "longitude": "Longitude",
      "latitude": "Latitude",
      "north": "North",
      "east": "East",
      "south": "South",
      "west": "West",
      "fire": "Fire",
      "earth": "Earth",
      "air": "Air",
      "water": "Water",
      "and_word": "and",
      "transits": "Transits for",
      "type": "Type",
      "aspects": "Couple aspects",
      "planets_and_house": "Points for",
      "transit_name": "At the time of the transit",
      "lunar_phase": "Lunar phase",
      "day": "Day",
      "celestial_points": {
        "Sun": "Sun",
        "Moon": "Moon",
        "Mercury": "Mercury",
        "Venus": "Venus",
        "Mars": "Mars",
        "Jupiter": "Jupiter",
        "Saturn": "Saturn",
        "Uranus": "Uranus",
        "Neptune": "Neptune",
        "Pluto": "Pluto",
        "Asc": "Asc",
        "Mc": "Mc",
        "Dsc": "Dsc",
        "Ic": "Ic",
        "True_Node": "North Node",
        "Mean_Node": "Mean Node",
        "Chiron": "Chiron"
      }
    },
    "FR": {
      "info": "Informations",
      "cusp": "Maison",
      "longitude": "Longitude",
      "latitude": "Latitude",
      "north": "Nord",
      "east": "Est",
      "south": "Sud",
      "west": "Ouest",
      "fire": "Feu",
      "earth": "Terre",
      "air": "Air",
      "water": "Eau",
      "and_word": "et",
      "transits": "Transites pour",
      "type": "Type",
      "aspects": "Les aspects",
      "planets_and_house": "Points pour",
      "transit_name": "Au moment de la transition",
      "lunar_phase": "Phase Lunaire",
      "day": "Jour",
      "celestial_points": {
        "Sun": "Soleil",
        "Moon": "Lune",
        "Mercury": "Mercure",
        "Venus": "VĂ©nus",
        "Mars": "Mars",
        "Jupiter": "Jupiter",
        "Saturn": "Saturne",
        "Uranus": "Uranus",
        "Neptune": "Neptune",
        "Pluto": "Pluton",
        "Asc": "Asc",
        "Mc": "Mc",
        "Dsc": "Dsc",
        "Ic": "Ic",
        "True_Node": "Noeud Nord",
        "Mean_Node": "Noeud Moyen",
        "Chiron": "Chiron"
      }
    },
    "PT": {
      "info": "InformaçÔes",
      "cusp": "Casa",
      "longitude": "Longitude",
      "latitude": "Latitude",
      "north": "Norte",
      "east": "Leste",
      "south": "Sul",
      "west": "Oeste",
      "fire": "Fogo",
      "earth": "Terra",
      "air": "Ar",
      "water": "Água",
      "and_word": "e",
      "transits": "TrĂąnsitos para",
      "type": "Tipo",
      "aspects": "Aspectos do casal",
      "planets_and_house": "Pontos para",
      "transit_name": "No momento do trĂąnsito",
      "lunar_phase": "Fase lunar",
      "day": "Dia",
      "celestial_points": {
        "Sun": "Sol",
        "Moon": "Lua",
        "Mercury": "MercĂșrio",
        "Venus": "VĂȘnus",
        "Mars": "Marte",
        "Jupiter": "JĂșpiter",
        "Saturn": "Saturno",
        "Uranus": "Urano",
        "Neptune": "Netuno",
        "Pluto": "PlutĂŁo",
        "Asc": "Asc",
        "Mc": "Mc",
        "Dsc": "Dsc",
        "Ic": "Ic",
        "True_Node": "Nodo Norte",
        "Mean_Node": "Nodo MĂ©dio",
        "Chiron": "QuĂ­ron"
      }
    },
    "IT": {
      "info": "Info",
      "cusp": "Cuspide",
      "longitude": "Longitudine",
      "latitude": "Latitudine",
      "north": "Nord",
      "east": "Est",
      "south": "Sud",
      "west": "Ovest",
      "fire": "Fuoco",
      "earth": "Terra",
      "air": "Aria",
      "water": "Acqua",
      "and_word": "e",
      "transits": "Transiti per",
      "type": "Tipo",
      "aspects": "Aspetti di coppia",
      "planets_and_house": "Punti per",
      "transit_name": "Al momento del transito",
      "lunar_phase": "Fase lunare",
      "day": "Giorno",
      "celestial_points": {
        "Sun": "Sole",
        "Moon": "Luna",
        "Mercury": "Mercurio",
        "Venus": "Venere",
        "Mars": "Marte",
        "Jupiter": "Giove",
        "Saturn": "Saturno",
        "Uranus": "Urano",
        "Neptune": "Nettuno",
        "Pluto": "Plutone",
        "Asc": "Asc",
        "Mc": "Mc",
        "Dsc": "Dsc",
        "Ic": "Ic",
        "True_Node": "Nodo Nord",
        "Mean_Node": "Nodo Medio",
        "Chiron": "Chirone"
      }
    },
    "CN": {
      "info": "ć‘œç›€èł‡èšŠ",
      "cusp": "ćźź",
      "longitude": "經ćșŠ",
      "latitude": "ç·ŻćșŠ",
      "north": "挗",
      "east": "東",
      "south": "捗",
      "west": "è„ż",
      "fire": "火",
      "earth": "期",
      "air": "éąš",
      "water": "æ°Ž",
      "and_word": "與",
      "transits": "攁ćčŽćˆç›€",
      "type": "盀枋",
      "aspects": "盞䜍",
      "planets_and_house": "èĄŒæ˜Ÿ 與 ćź«äœ",
      "transit_name": "攁ćčŽćçš±",
      "lunar_phase": "月盞",
      "day": "æ—„",
      "celestial_points": {
        "Sun": "ć€Ș陜",
        "Moon": "月äșź",
        "Mercury": "氎星",
        "Venus": "金星",
        "Mars": "火星",
        "Jupiter": "朚星",
        "Saturn": "ćœŸæ˜Ÿ",
        "Uranus": "ć€©çŽ‹æ˜Ÿ",
        "Neptune": "攷王星",
        "Pluto": "ć†„çŽ‹æ˜Ÿ",
        "Asc": "äžŠć‡é»ž",
        "Mc": "䞊䞭怩",
        "Dsc": "䞋降點",
        "Ic": "䞋䞭怩",
        "True_Node": "挗äș€é»ž",
        "Mean_Node": "ćčłäș€é»ž",
        "Chiron": "ć‡±éŸæ˜Ÿ"
      }
    }
  },
  "aspects": [
    {
      "degree": 0,
      "name": "conjunction",
      "is_active": 1,
      "visible_grid": 1,
      "is_major": 1,
      "is_minor": 0,
      "orb": 10,
      "color": "#5757e2"
    },
    {
      "degree": 30,
      "name": "semi-sextile",
      "is_active": 0,
      "visible_grid": 0,
      "is_major": 0,
      "is_minor": 1,
      "orb": 1,
      "color": "#810757"
    },
    {
      "degree": 45,
      "name": "semi-square",
      "is_active": 0,
      "visible_grid": 0,
      "is_major": 0,
      "is_minor": 1,
      "orb": 1,
      "color": "#b14e58"
    },
    {
      "degree": 60,
      "name": "sextile",
      "is_active": 1,
      "visible_grid": 1,
      "is_major": 1,
      "is_minor": 0,
      "orb": 6,
      "color": "#d59e28"
    },
    {
      "degree": 72,
      "name": "quintile",
      "is_active": 1,
      "visible_grid": 1,
      "is_major": 0,
      "is_minor": 1,
      "orb": 1,
      "color": "#1f99b3"
    },
    {
      "degree": 90,
      "name": "square",
      "is_active": 1,
      "visible_grid": 1,
      "is_major": 1,
      "is_minor": 0,
      "orb": 5,
      "color": "#dc0000"
    },
    {
      "degree": 120,
      "name": "trine",
      "is_active": 1,
      "visible_grid": 1,
      "is_major": 1,
      "is_minor": 0,
      "orb": 8,
      "color": "#36d100"
    },
    {
      "degree": 135,
      "name": "sesquiquadrate",
      "is_active": 0,
      "visible_grid": 0,
      "is_major": 0,
      "is_minor": 1,
      "orb": 1,
      "color": "#985a10"
    },
    {
      "degree": 144,
      "name": "biquintile",
      "is_active": 0,
      "visible_grid": 0,
      "is_major": 0,
      "is_minor": 1,
      "orb": 1,
      "color": "#7a9810"
    },
    {
      "degree": 150,
      "name": "quincunx",
      "is_active": 0,
      "visible_grid": 0,
      "is_major": 0,
      "is_minor": 0,
      "orb": 1,
      "color": "#26bbcf"
    },
    {
      "degree": 180,
      "name": "opposition",
      "is_active": 1,
      "visible_grid": 1,
      "is_major": 1,
      "is_minor": 0,
      "orb": 10,
      "color": "#510060"
    }
  ],
  "celestial_points": [
    {
      "id": 0,
      "name": "Sun",
      "color": "#984b00",
      "is_active": true,
      "element_points": 40,
      "related_zodiac_signs": ["4"],
      "label": "Sun"
    },
    {
      "id": 1,
      "name": "Moon",
      "color": "#150052",
      "is_active": true,
      "element_points": 40,
      "related_zodiac_signs": ["3"],
      "label": "Moon"
    },
    {
      "id": 2,
      "name": "Mercury",
      "color": "#520800",
      "is_active": true,
      "element_points": 15,
      "related_zodiac_signs": ["2", "5"],
      "label": "Mercury"
    },
    {
      "id": 3,
      "name": "Venus",
      "color": "#400052",
      "is_active": true,
      "element_points": 15,
      "related_zodiac_signs": ["1", "6"],
      "label": "Venus"
    },
    {
      "id": 4,
      "name": "Mars",
      "color": "#540000",
      "is_active": true,
      "element_points": 15,
      "related_zodiac_signs": ["0"],
      "label": "Mars"
    },
    {
      "id": 5,
      "name": "Jupiter",
      "color": "#47133d",
      "is_active": true,
      "element_points": 10,
      "related_zodiac_signs": ["8"],
      "label": "Jupiter"
    },
    {
      "id": 6,
      "name": "Saturn",
      "color": "#124500",
      "is_active": true,
      "element_points": 10,
      "related_zodiac_signs": ["9"],
      "label": "Saturn"
    },
    {
      "id": 7,
      "name": "Uranus",
      "color": "#6f0766",
      "is_active": true,
      "element_points": 10,
      "related_zodiac_signs": ["10"],
      "label": "Uranus"
    },
    {
      "id": 8,
      "name": "Neptune",
      "color": "#06537f",
      "is_active": true,
      "element_points": 10,
      "related_zodiac_signs": ["11"],
      "label": "Neptune"
    },
    {
      "id": 9,
      "name": "Pluto",
      "color": "#713f04",
      "is_active": true,
      "element_points": 10,
      "related_zodiac_signs": ["7"],
      "label": "Pluto"
    },
    {
      "id": 10,
      "name": "Mean_Node",
      "color": "#4c1541",
      "is_active": false,
      "element_points": 0,
      "related_zodiac_signs": [],
      "label": "Mean_Node"
    },
    {
      "id": 11,
      "name": "True_Node",
      "color": "#4c1541",
      "is_active": true,
      "element_points": 20,
      "related_zodiac_signs": [],
      "label": "True_Node"
    },
    {
      "id": 12,
      "name": "Chiron",
      "color": "#666f06",
      "is_active": true,
      "element_points": 0,
      "related_zodiac_signs": [],
      "label": "Chiron"
    },
    {
      "id": 13,
      "name": "First_House",
      "color": "#ff7e00",
      "is_active": true,
      "element_points": 40,
      "related_zodiac_signs": [],
      "label": "Asc"
    },
    {
      "id": 14,
      "name": "Tenth_House",
      "color": "#FF0000",
      "is_active": true,
      "element_points": 20,
      "related_zodiac_signs": [],
      "label": "Mc"
    },
    {
      "id": 15,
      "name": "Seventh_House",
      "color": "#0000FF",
      "is_active": false,
      "element_points": 0,
      "related_zodiac_signs": [],
      "label": "Dsc"
    },
    {
      "id": 16,
      "name": "Fourth_House",
      "color": "#000000",
      "is_active": false,
      "element_points": 0,
      "related_zodiac_signs": [],
      "label": "Ic"
    }
  ],
  "chart_colors": {
    "paper_0": "#000000",
    "paper_1": "#ffffff",
    "zodiac_bg_0": "#ff7200",
    "zodiac_bg_1": "#6b3d00",
    "zodiac_bg_2": "#69acf1",
    "zodiac_bg_3": "#2b4972",
    "zodiac_bg_4": "#ff7200",
    "zodiac_bg_5": "#6b3d00",
    "zodiac_bg_6": "#69acf1",
    "zodiac_bg_7": "#2b4972",
    "zodiac_bg_8": "#ff7200",
    "zodiac_bg_9": "#6b3d00",
    "zodiac_bg_10": "#69acf1",
    "zodiac_bg_11": "#2b4972",
    "zodiac_icon_0": "#ff7200",
    "zodiac_icon_1": "#6b3d00",
    "zodiac_icon_2": "#69acf1",
    "zodiac_icon_3": "#2b4972",
    "zodiac_icon_4": "#ff7200",
    "zodiac_icon_5": "#6b3d00",
    "zodiac_icon_6": "#69acf1",
    "zodiac_icon_7": "#2b4972",
    "zodiac_icon_8": "#ff7200",
    "zodiac_icon_9": "#6b3d00",
    "zodiac_icon_10": "#69acf1",
    "zodiac_icon_11": "#2b4972",
    "zodiac_radix_ring_0": "#ff0000",
    "zodiac_radix_ring_1": "#ff0000",
    "zodiac_radix_ring_2": "#ff0000",
    "zodiac_transit_ring_0": "#ff0000",
    "zodiac_transit_ring_1": "#ff0000",
    "zodiac_transit_ring_2": "#0000ff",
    "zodiac_transit_ring_3": "#0000ff",
    "houses_radix_line": "#ff0000",
    "houses_transit_line": "#0000ff",
    "lunar_phase_0": "#000000",
    "lunar_phase_1": "#FFFFFF",
    "lunar_phase_2": "#CCCCCC"
  },
  "general_settings": {
    "axes_orbit": 1,
    "planet_in_zodiac_extra_points": 10,
    "language": "ES"
  },
  "chart_settings": {
    "basic_chart_viewBox": "0 0 772.2 546.0",
    "wide_chart_viewBox": "0 0 1060 546.0"
  }
}