HarmonyOS-Knowledgebase
HarmonyOS-Knowledgebase copied to clipboard
DevEcoStudio Previewer datetime picker option dosen't change according to language.
Describe the bug When datetime picker is used there is a checkbox whose label is written in Chinese which should change according to the language selected but it still remains in Chinese.
Stackoverflow: https://stackoverflow.com/questions/71731953/how-to-change-checkbox-label-value-in-devecostudio-previewer-according-to-select
To Reproduce Steps to reproduce the behavior:
- Add a select option of 'datetime' and a datetime picker
- Click on 'datetime'
- Click on '...' to change the language
- Open the datetime picker again
- The label for given checkbox is still in chinese
Expected behavior The label for the given Checkbox should change according to the language selected.
Screenshots
Desktop (please complete the following information):
- OS: Windows 10 Home Single Language
- Browser: Chrome
- Version: 21H2
Smartphone (please complete the following information):
- Device: HUAWEI P40
- OS: EMUI 10.1
- Browser stock browser