Which two statements are true about localizing an application?

A. Support for new regional languages does not require recompilation of the code.
B. Textual elements (messages and GUI labels) are hard-coded in the code.
C. Language and region-specific programs are created using localized data.
D. Resource bundle files include data and currency information.
E. Language codes use lowercase letters and region codes use uppercase letters.

题解

选项 A,正确。

选项 B,文字是从外部动态读入才对,如透过 ResourceBundle 类别。

选项 C,不正确,叙述应改为国际化(internationalized)的程序。

选项 D,ResourceBundle 的文件是包含 Locale 的消息才对。

选项 E,正确。例如 en-US(英文,美国)、zh-TW(中文,台湾)。