skill-weather
skill-weather copied to clipboard
No translation of the temperature scales
Describe the bug In weather messages, the temperature scale is not translated into the selected language.
To Reproduce Steps to reproduce the behavior:
- Change language to Russian
- Ask for current weather few times
- Wait for message with scale
- See untraslated scale (
celsius/fahrenheit):
>> Сейчас небольшой дождь и 11 градусов celsius.
>> Сейчас дождь и 51 градусов fahrenheit.
Expected behavior Scales should be translated.
Environment:
- Device type: Raspberry Pi
- OS: Picroft
- Mycroft-core version: dev
Hey, thanks for flagging this. It certainly isn't the intention. I'm not sure when someone from our team will get to it so I've added a help wanted flag for now.
This should be resolved by #197, I started out with a simple change to just translate the unit as other things are translated but in the end I ended up suggesting a slight reorganization to make the translations occur where the dialog is built to make it easier to avoid these kinds of issues in the future.
(It was tested with Swedish)