Astro Translations [Solved]

Hi everybody,

Has anyone translated phases, zodiac, etc, to any other languages? I’m trying to translate to spanish but i’ve not able to find how to set “” file.


Here are my german translations, working in OH2:

(With OH1 you need capitalized and small letters, like “First_Quarter=…”


FIRST_QUARTER=Zunehmender Sichelmond (Neulicht)
WAXING_CRESCENT=Zunehmender Halbmond (erstes Viertel)
WAXING_GIBBOUS=Zunehmender Mond (zweites Viertel)
WANING_GIBBOUS=Abnehmender Mond (drittes Viertel)
THIRD_QUARTER=Abnehmender Halbmond (letztes Viertel)
WANING_CRESCENT=Abnehmender Sichelmond (Altlicht)
-=Fehler bei der Initialisierung
NULL=Fehler bei der Initialisierung


ARIES=Widder (21. März - 20. April)
TAURUS=Stier (21. April - 21. Mai)
GEMINI=Zwilling (22. Mai - 21. Juni)
CANCER=Krebs (22. Juni - 22. Juli)
LEO=Löwe (23. Juli - 22. August)
VIRGO=Jungfrau (23. August - 22. September)
LIBRA=Waage (23. September - 22. Oktober)
SCORPIO=Skorpion (23. Oktober - 22. November)
SAGITTARIUS=Schütze (23. November - 20. Dezember)
CAPRICORN=Steinbock (21. Dezember - 19. Januar)
AQUARIUS=Wassermann (20. Januar - 18. Februar)
PISCES=Fische (19. Februar - 20. März)
-=-Fehler bei der Initialisierung-
NULL=Fehler bei der Initialisierung


-=-Fehler bei der Initialisierung-
NULL=Fehler bei der Initialisierung

Don´t know if i need the translation for - and NULL in OH2. I only used - in OH1.

Thanks @halloween
I’ve a new question … where should i place it? I’ve been hearing about .map file but I’m not sure where should be placed.

Thanks again … And I’ll start copying & translating your (very appreciated) map file.

Place it inside transform directory.


If you installed with the tutorial, then it is in your samba-share “openHAB2-conf” --> transform.

Thak you very much @halloween

About samba-sbhare … i’m new on OH2 but not in Linux … i’m a console-addicted :stuck_out_tongue:

Edit: I’ve attached my translated to spanish.


NEW=Luna Nueva
FIRST_QUARTER=Cuarto creciente
WAXING_GIBBOUS=Gibosa creciente
FULL=Luna Llena
WANING_GIBBOUS=Gibosa menguante
THIRD_QUARTER=Cuarto menguante
-=-Error de inicio-
NULL=Error al iniciar


ARIES=Aries (21 marzo - 20 abril)
TAURUS=Tauro (21 abril - 21 mayo)
GEMINI=Geminis (22 mayo - 21 junio)
CANCER=Cáncer (22 junio - 22 julio)
LEO=Leo (23 julio - 22 agosto)
VIRGO=Virgo (23 agosto - 22 septiembre)
LIBRA=Libra (23 septiembre - 22 octubre)
SCORPIO=Escorpio (23 octubre - 22 noviembre)
SAGITTARIUS=Sagitario (23 noviembre - 20 diciembre)
CAPRICORN=Capricornio (21 diciembre - 19 enero)
AQUARIUS=Acuario (20 enero - 18 febrero)
PISCES=Piscis (19 febrero - 20 marzo)
-=-Error de Inicio-
NULL=Error al iniciar


-=-Error de Inicio-
NULL=Error al iniciar

Hi @halloween again!
My astro items (moon phases) still appears on english.

I’ve used as & on /etc/openhab2/transform (OH2 of course) but no change is advised.

how did you get it work?

Thanks in advance

Show me your astro.items file.

Could you please post your translations here:

There you’ll also find example items and such

@halloween here are my astro items

// shows the sunrise
DateTime Sunrise_Time  "Sunrise [%1$tH:%1$tM]"  {astro="planet=sun, type=rise, property=start"}
// shows the sunset
DateTime Sunset_Time   "Sunset [%1$tH:%1$tM]"   {astro="planet=sun, type=set, property=end"}
// rise, set
DateTime Moonrise_Time   "Moonrise [%1$td.%1$tm.%1$tY %1$tH:%1$tM]"  {astro="planet=moon, type=rise, property=start"}
DateTime Moonset_Time    "Moonset [%1$td.%1$tm.%1$tY %1$tH:%1$tM]"   {astro="planet=moon, type=set, property=end"}
String    Moon_Phase_Name    "Moonphase [%s]"              {astro="planet=moon, type=phase, property=name"}

@ThomDietrich translation added in post

You have to add the map-file to the item.

Look at my moon-phases item:

String	Mondphase	"Mondphase [MAP(]"	<moon>	(gAstro)	{ channel="astro:moon:home:phase#name" }

And i think you have to install the transformation service for map in PaperUI:
Add-ons --> Transformations --> Map Transformation

You are on OH1 - so you don´t need to install the Map Transformation. This is only for OH2. If you are on OH2 then i would change the astro1 binding to the OH2 version. It is working very good. I also startet with astro1 and changed to astro2 binding. Only thing what is not working properly in OH2 binding is offset. But i made another location. 15 degrees is 1 hour offset.

Hi @halloween,

After trying to install Astro2 it doesn’t works… but this is the way I solved it:

1.- Copy all astro files (items, cfg, map …) to a different place (e.g. /home)
2.- Uninstall Astro 1.x & 2 versions
3.- Delete all astro files (items, cfg, …) from original directories (items, transform, …)
4.- Install Astro 2 & copy to appropiate directories the configuratios, tiems ,… files
5.- link channels to items (the most important if you’ve been using OH1.x)
So, nowadays … it’s working (except some characters on basicui … but this is a known issue)

Thanks, halloween. It does help me a lot!
Check this site for translation: Spanish to English