harmony 鸿蒙Pseudo-Localization Testing for UI Mirroring
Pseudo-Localization Testing for UI Mirroring
Application Scenario
The pseudo-localization testing for UI mirroring aims to check whether the text reading direction is correct. In some languages, the text is not read from left to right. For example, in Arabic, text is read from right to left.
Test Process
- Switch to the target locale for pseudo-localization testing, for example, ar-XB.
You can switch the locale through the code (system permission required):
import { i18n } from '@kit.LocalizationKit';
i18n.System.setSystemLanguage('ar-XB')
- Traverse the applications to be tested.
Test Item
Check whether the UI layout, text direction, and control logic comply with the reading habit of the target locale. For details, see UI Mirroring.
Check whether related functions are normal.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Character Processing
harmony 鸿蒙Overview of Internationalization and Localization
harmony 鸿蒙Language and Locale Name Localization
harmony 鸿蒙Locale ID and Cultural Habit Division
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦