Dynamic links tutorial
The sample applications for UI (user interface) development walk you through how to configure measurement units based on the locale of a logged in user.
This tutorial assumes familiarity with this information:
Provide Feedback