CFenner / MMM-AirQuality

A module for the MagicMirror to display a location's air quality index.
MIT License
35 stars 15 forks source link

lang: 'cs' doesn't work for me #6

Closed zdeneksofr closed 10 months ago

zdeneksofr commented 7 years ago

Hi this is my config.js

        {
            module: 'airquality',
            position: 'bottom_left', // the location where the module should be displayed
            config: {
                lang: 'cs', 
                    location: 'czechrepublic/liberecky/liberec-rochlice' // aqicn.org
                }
        },

but still have in in english. Do I need to add definitions to traslations/cs.json ? If yes, where is possible to get full list of possibilities?

btw, is there way, how to make the modules smaller and hwo to use colours based on condition?

thanks, Zdeněk

CFenner commented 7 years ago

Like mentioned in known issues not all languages are supported.

But maybe you can provide translation for the service.

Works for DE or FR:

bildschirmfoto 2017-05-14 um 10 03 50 bildschirmfoto 2017-05-14 um 10 03 04
zdeneksofr commented 7 years ago

great idea. I'be no problem to try to make tramslation, if I'll have a full list of all possible values. Do you have it?

CFenner commented 7 years ago

No, I fetch the information from an external service: http://aqicn.org/translate/#v

Seems that czech is not supported.

CFenner commented 7 years ago

One idea is, to query in english all the time and do the translation in the module itself.

zdeneksofr commented 7 years ago

@CFenner I asked

http://aqicn.org/translate/#v

there, so we will see

rubenix commented 4 years ago

Seems that Language Translation service has been moved to: http://waqi.info/translate/#/

I see Catalan language its supported (ca) but not working in the module (I thing you should change something in the code to make it working, right?)

thanks