Skip to content

Constellation names translation for diffrent langueges #178

@sara-sarsh

Description

@sara-sarsh

Is your feature request related to a problem? Please describe.
Currently, the library only provides constellation names in English. There is a need for translations to support multiple languages, especially Persian (Farsi) for users in Iran and other Persian-speaking regions. This would make the library more accessible and user-friendly for a global audience.

Describe the solution you'd like
We would like to have a feature that allows the library to return constellation names and star names in different languages. Specifically, we want to include Persian (Farsi) translations. The solution should allow users to specify the desired language when querying for constellation or star information. We can implement this by adding a language parameter to the relevant functions or by creating a separate method to get the name in a specific language.

Describe alternatives you've considered
We have considered the following alternatives:

  1. Using a third-party API or database: This might be complex to maintain and integrate, and there might be licensing issues.
  2. Building a simple translation table: We can create a dictionary mapping English constellation names to their Persian translations. However, this might not be comprehensive and could require updates as new constellations or translations are discovered.
  3. Community-driven translations: We can allow the community to contribute translations, but this would require a more complex system and might not be suitable for a library that aims for accuracy and reliability.

We believe that the best solution is to include a built-in translation mechanism for a set of languages, with Persian being a priority, and then allow for community contributions or updates through a pull request if needed.

Additional context
This feature would be particularly beneficial for educational purposes and for users in regions where Persian is the primary language. It would also help in making the library more inclusive and accessible. We are aware that adding multiple languages might increase the codebase size, but this is a valuable addition for a global user base.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed😃 good first issueGood issue for new contributors because its easy to fix

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions