Currently the factory UI has hard-coded two locales for UI elements, as label_en and label_zh.
This is not appropriate since
- source needs to be UTF-8 (and add the encoding flags everywhere)
- making messages in source duplicated
- complex logic to select right label, even if we're always displaying only 1.
- only supporting one additional locale.
- bloated test list
We should migrate to python gettext or other alternatives to support multilingual.
Comment 1 by bugdroid1@chromium.org
, Jan 5 2017