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(中文,台灣)。