Writing in applications: Grammar, punctuation, and style
This document provides communication and writing guidelines for designing DHIS2 applications. Apps that follow these guidelines offer a consistent, unambiguous DHIS2 user experience.
General guidance for communicating with users is given in Content and communication. This document offers more technical patterns and guidance.
Internationalization
These guidelines cover grammar and language rules for English. Where possible, use these guidelines when translating to other languages. However, the natural communication style of a language takes precedent over these guidelines.
Spelling, grammar, capitalization
Spelling
- Use US-EN spelling, as a general rule.
- There are some terms in DHIS2, like organisation unit, that have adopted other spellings. In those cases, use the DHIS2 established spelling.
Capitalization
Sentence case
-
Throughout an application, always use sentence case.
-
Don't use title case unless referring to an application, person, or product.
- ✅ Recommended: Use the Capture app to record patient data.
- ❌ Not recommended: Use the capture app to record patient data.
- ❌ Not recommended: Use The Capture App To Record Patient Data.
Interface elements
-
Use sentence case for all interface elements.
- ✅ Recommended: A button label, Add a patient.
- ❌ Not recommended: A button label Add a Patient.
Referring to interface elements
- When referring to elements in an interface, like buttons or sections, use the same capitalization style that the element itself uses.
So, when referring to a button on screen that reads Add record:
- ✅ Recommended: Press Add record to get started.
- ❌ Not recommended: Press add record to get started.
All-caps
- All-caps, capitalizing all letters, can be used sparingly for headings and labels.
- Never use all-caps for sentences or paragraphs of text.
Punctuation
Quotation marks
-
Avoid quotation marks in interfaces. They add visual noise and are rarely needed.
-
Don't refer to interface terms using quotation marks.
-
If using, always use double quotation marks ("").
- ✅ Recommended: Press Update to see the changes in the visualization.
- ❌ Not recommended: Press "Update" to see the changes in the visualization.
Periods
- All sentences should end with a period. There are a few exceptions:
- List items fewer than 3 words.
- Headings, subheadings, titles, and subtitles.
- Interface labels, like the label of a form field or a checkbox label.
Serial commas
-
Use a serial comma, a comma before and at the end of a list, as it's the clearest and least ambiguous choice.
- ✅ Recommended: Add users, roles, and groups to the table.
- ❌ Not recommended: Add users, roles and groups to the table.