Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Language Problems #33

Open
rkgun opened this issue Apr 8, 2022 · 1 comment
Open

Custom Language Problems #33

rkgun opened this issue Apr 8, 2022 · 1 comment

Comments

@rkgun
Copy link

rkgun commented Apr 8, 2022

As stated in the readme.md file
I adjusted the language.js file in the src/utilities/ directory by adding a new language and added the demo file.
npm run build:demo
with the command
I rebuilt. Ascendant and Midheaven zodiac signs still appear in English even if I change the current language. Does anyone know what is causing this or can inform me about it?

demo.html screen shot

In the picture, the starting points of the zodiac signs,
midheaven constellations appear with ascendant (Gemini, Aquarius). While the names of all the zodiac signs appear in Turkish. Ascendant and midheaven the situation is different.

Below are the nomenclatures I created to add a new language:

 tr: {
    // Label
    label: 'Türkçe',
    // Angles
    ascendant: 'Yükselen Açı',
    midheaven: 'Midheaven',
    // Bodies
    sun: 'Güneş',
    moon: 'Ay',
    mercury: 'Merkür',
    venus: 'Venüs',
    mars: 'Mars',
    jupiter: 'Jüpiter',
    saturn: 'Satürn',
    uranus: 'Uranüs',
    neptune: 'Neptün',
    pluto: 'Plüto',
    chiron: 'Chiron',
    sirius: 'Sirius',
    // Points
    northnode: 'Kuzey Düğüm',
    southnode: 'Güney Düğüm',
    lilith: 'Lilith (Kara AY)',
    // Signs
    aries: 'Koç',
    taurus: 'Boğa',
    gemini: 'İkizler',
    cancer: 'Yengeç',
    leo: 'Aslan',
    virgo: 'Başak',
    libra: 'Terazi',
    scorpio: 'Akrep',
    sagittarius: 'Yay',
    capricorn: 'Oğlak',
    aquarius: 'Kova',
    pisces: 'Balık',
    ophiuchus: 'Yılan Haritası',
    // Houses
    house1: '1. Ev (Yükselen)',
    house2: '2. Ev',
    house3: '3. Ev',
    house4: '4. Ev',
    house5: '5. Ev',
    house6: '6. Ev',
    house7: '7. Ev',
    house8: '8. Ev',
    house9: '9. Ev',
    house10: '10. Ev',
    house11: '11. Ev',
    house12: '12. Ev',
    // Aspects
    conjunction: 'Birleşme',
    opposition: 'Karşıt',
    trine: 'Üçgen',
    square: 'Kare',
    sextile: 'Birleşmeyen',
    quincunx: 'Kavuşmayan Açı',
    quintile: 'Beşlik',
    septile: '51 derece',
    'semi-square': 'Yarı Kare',
    'semi-sextile': 'Yarı Birleşmeyen',
    // Zodiac Choice Labels
    'tropical-zodiac': 'Tropical',
    'sidereal-zodiac': 'Sidereal',
    // House System labels
    'equal-house': 'Eşit Ev',
    campanus: 'Campanus',
    koch: 'Koch',
    placidus: 'Placidus',
    regiomontanus: 'Regiomontanus',
    topocentric: 'Topocentric',
    'whole-sign': 'Bütün İşaret',
    // Aspect level labels
    major: 'Büyük',
    minor: 'Küçük',
  },
@Moziezez
Copy link

What i did is to use that kind of dictionary-object to translate everything into german for my frontend, so it works fine :)
Planet Labels shown to User in a Horoscope-Graphic are in German, the 'calculations' are in english.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants