LoveBootCaptain / WeatherPi_TFT

a weather display for a raspberry pi and a TFT display written in python3 and pygame
Other
80 stars 24 forks source link

German words in English language setting #8

Closed HWHardsoft closed 4 years ago

HWHardsoft commented 4 years ago

Hi, when I tried to set the language in the config.json to "en" some text output is still in German

IMG_20200502_115913

LoveBootCaptain commented 4 years ago

Hi,

the word 'Regen' is hardcoded. there are 3 hardcoded german words in the code 'Regen' - rain 'Schnee' - snow 'Niederschlag' - Precipitation based on the kind of precipitation rain or snow is shown... if no precipitation is in the forecast there will be shown: 0% Precipitation

maybe it is good to but this 3 words in the config.json for own translation? what would you say?

kind regards

LoveBootCaptain commented 4 years ago

I fixed this in the theme.json. there you can find the strings for own localisation. https://github.com/LoveBootCaptain/WeatherPi_TFT/commit/80143a29195544df9efbe630044b21df81291048