skyhopper icon indicating copy to clipboard operation
skyhopper copied to clipboard

Localization

Open m-anish opened this issue 2 years ago • 4 comments

Hi! This seems like a much needed and wonderful piece of software.

I'm writing from a high altitude valley in the Himalayas (Zanskar). Is there any way we can incorporate localisation into this app. I'm limited with js skills but can rope people in depending on needs.

Clear skies to you!

image

m-anish avatar Jun 28 '23 02:06 m-anish

Good question. I need to do several things:

  1. Prepare the code for localisation (i.e. translation strings)
  2. Create dictionaries and give users translation ability
  3. Create users ability to create translated manuals

things I can't easily translate - object names.

What languages do you know so you can create translations for?

artyom-beilis avatar Jun 28 '23 15:06 artyom-beilis

Hi. Great. I could help out with adding Tibetan. The names of all the planets, a few constellations, prominent stars and a couple of DSOs are available. I could provide both Tibetan script and Transliteration.

m-anish avatar Jun 30 '23 00:06 m-anish

Also, I could ask someone fluent in Tibetan to translate the manuals as well.

m-anish avatar Jun 30 '23 00:06 m-anish

Following that, I could help out with Hindi, and help coordinate a few more Indian languages.

m-anish avatar Jun 30 '23 00:06 m-anish

Hi @artyom-beilis

Actually the localization is a very good idea. It would be nice when AstroHopper automatically starts in the language configured on the smartphone. I know hungarian language, I can help with the translation. I already did that for a few other apps. Let me know if you plan to do that and/or send me any (long) list of texts (in english, of course) to translate.

BR,

Ladislav

laheller avatar Aug 22 '25 21:08 laheller

Yes, it is something I need to work on.

Current code isn't ready for localisation. I need to check how to do it in JS.

I'll give this higher priority

artyom-beilis avatar Aug 23 '25 06:08 artyom-beilis

Ok I added localization support, in version 1.0.14

If you want to translate it to your language, please follow the instructions here: https://github.com/artyom-beilis/skyhopper/blob/main/po/README_translators.md

Currently it is translated to 3 languages I know good enough: Hebrew, Ukrainian and Russian.

artyom-beilis avatar Aug 24 '25 08:08 artyom-beilis

Now currently localisation covers UI and manual. I does not cover constellation, star or object names since a separate database is needed.

Closing this issues feel free to PR new transations

artyom-beilis avatar Aug 24 '25 09:08 artyom-beilis