compass-card icon indicating copy to clipboard operation
compass-card copied to clipboard

Localization, help out to get compass-card translated in your language

Open tomvanswam opened this issue 3 years ago • 22 comments

If you want to help out and add support for more languages to compass-card you can!

For the non git savvy:

  • Download the latest english translation file
  • Rename it and use the 2 letter language code for your language for the new filename
  • Translate all the values (the part on each line after the semicolumn (:)
  • Post a reply in this issue, and attach the updated file
  • Wait till include it in the source and release it

For the git savvy

  • Fork this repository
  • Checkout the dev branch
  • Copy the src/localize/languages/en.json
  • Paste and rename it in the same folder
  • Translate all the values (the part on each line after the semicolumn (:)
  • Commit the changes
  • Create a pull request to the dev branch of this repository
  • Wait till I merge and release it

Currently supported In the README.md is listed which languages are already supported.

Future development When new translation values are added in the future, I might reach out to you and ask your help again, to help translating the new words.

tomvanswam avatar Aug 18 '20 18:08 tomvanswam

pl.json.txt

Polish translation Sorry for the previous post with the wrong file

porebas avatar Aug 19 '20 11:08 porebas

Sorry for the previous post with the wrong file

No problem, I'm happy you want to help out. I've updated the source and saw the abbreviations are quite long. Although they do fit in the circle, it might be a bit to full? What do you think? Are shorter abbreviations possible? compass-card-polish

tomvanswam avatar Aug 19 '20 17:08 tomvanswam

In Polish, the abbreviations of directions are quite long (not one letter as in most languages), but this is why English abbreviations are often used, so I would suggest leaving the abbreviations in English as in the original

porebas avatar Aug 19 '20 18:08 porebas

Ok, people can choose themselves now so that would not be a problem. If they use the Polish home assistent interface, they can pick english in the card and have the shorter abbreviations and still have Polidh in the visual editor. Works for me!

tomvanswam avatar Aug 19 '20 18:08 tomvanswam

Czech translation. I'm little rusty, but it should be very close. cz.json.txt

Woodcat64 avatar Aug 19 '20 21:08 Woodcat64

Hi! Made a Hungarian version as well: hu.txt Let me know how I can see it in use to see if something sounds weird :)

Regards! Botond

bboti86 avatar Oct 07 '20 21:10 bboti86

@bboti86 Thanks for helping out with translating! Your contribution will be included in the upcoming v1.0.0 release. However due to a large amount of changes, this might take some time. Currently v1.0.0-alpha2 (enable prerelease in HACS) is out, I'll add this in v1.0.0-alpha3 so you can have a look early.

tomvanswam avatar Oct 08 '20 11:10 tomvanswam

es.json.zip

alnavasa avatar Mar 14 '21 21:03 alnavasa

@alnavasa thanks for the Spanish translation, I'll add it to the next update.

tomvanswam avatar Mar 17 '21 12:03 tomvanswam

Find attached Slovenian translation.

sl.json.txt

If you could please add it to next release. Thank you.

thehijacker avatar Apr 13 '21 06:04 thehijacker

Thanks @thehijacker!

tomvanswam avatar Apr 14 '21 10:04 tomvanswam

Not to rush, but when will new translation be added?

thehijacker avatar Apr 20 '21 19:04 thehijacker

@thehijacker today! :tada:

tomvanswam avatar Apr 21 '21 18:04 tomvanswam

bg.json.txt Bulgarian translation

Saentist avatar Apr 27 '21 20:04 Saentist

Thanks @Saentist! I'll add this to the next release

tomvanswam avatar Apr 28 '21 17:04 tomvanswam

Thanks @Saentist! I'll add this to the next release

Still not included to repo ;(

Saentist avatar Oct 06 '21 10:10 Saentist

Appologies, I missed this when looking trough open issues. I'll add this today.

tomvanswam avatar Oct 06 '21 17:10 tomvanswam

Hi @tomvanswam May I suggest a newer translation to Portuguese ? pt.json.txt

Regards

tluciomiranda avatar Oct 19 '21 17:10 tluciomiranda

Catalan: ca.zip

Thanks!

joan-mb avatar Nov 14 '21 22:11 joan-mb

Here is an Icelandic version : is.txt )

halliiav avatar Apr 10 '22 09:04 halliiav

Russian: ru.txt

Psytoshgen avatar May 04 '22 16:05 Psytoshgen

korean:

ko.txt

mmxdog avatar Aug 20 '23 18:08 mmxdog