hello again, my day question is…MAP FILE!
i’m trying to translate an output that come in english to a italian value…
i’m talking about the battery status for icloud binding: i get from binding the value “Not charging” and i want to translate it using MAP file, but i don’t know how to setup.
i’ve tried to create a MAP file (icloud.map) in this way:
Not\ charging="Non in carica"
but doesn’t work.
of course in my item file i’ve added:
i though you will be the first to reply
yes sorry, the double [[ was a typo…
the way you tell me, doesn’t work…nothing displayed in sitemap for the status Not charging
but, as my home system, the map files work correctly, because i have astro binding installed, with map files translated in italian, as you can see in the screenshot. following also the code of map file for astro binding:
//
ARIES=♈ Ariete (21 marzo - 20 aprile)
TAURUS=♉ Toro (21 aprile - 21 maggio)
GEMINI=♊ Gemelli (22 maggio - 21 giugno)
CANCER=♋ Cancro (22 giugno - 22 luglio)
LEO=♌ Leone (23 luglio - 22 agosto)
VIRGO=♍ Vergine (23 agosto - 22 settembre)
LIBRA=♎ Bilancia (23 settembre - 22 ottobre)
SCORPIO=♏ Scorpione (23 ottobre - 22 novembre)
SAGITTARIUS=♐ Sagittario (23 novembre - 20 dicembre)
CAPRICORN=♑ Capricorno (21 dicembre - 19 gennaio)
AQUARIUS=♒ Acquario (20 gennaio - 18 febbraio)
PISCES=♓ Pesci (19 febbraio - 20 marzo)
//
SPRING=Primavera
SUMMER=Estate
AUTUMN=Autunno
WINTER=Inverno
//
SUN_RISE=Alba
ASTRO_DAWN=Tramonto astronomico
NAUTIC_DAWN=Traonto nautico
CIVIL_DAWN=Tramonto civile
CIVIL_DUSK=Crepuscolo civile
NAUTIC_DUSK=Crepuscolo nautico
ASTRO_DUSK=Crepuscolo astronomico
SUN_SET=Tramonto
DAYLIGHT=Mattina
NOON=Mezzogiorno
NIGHT=Notte
so i can suppose the problem could be somewhere else…
OK, than to the map-file.
The name is icloud.map in the folder transform?
Is only this one line in the file?
How do you create the file? Is the authorisation ok? What editor do you use? Is the file-encoding correct?