Text, Dates and Numbers

Avoid hard-coded text in information and error messages, date formats, number formats and currencies.

Information and error messages require translation. Hard coding the text will produce a mixed language experience for the user. Avoid hard coding text in:

Labels

Lists

Menus

Status information

Titles, buttons and help text in dialogs

Toolbars and tool tips

Retain long text as a coherent whole. Don't break the text into small strings.

Date and number formats differ across the world. Hard coding the century, year, month and day sequences in dates will hinder localization. Number separators for decimal places and thousands vary from country to country. Currency symbols are another variable item.