The ProfilerViewer Control can be easily internationalized by modifying the
STRINGS member of
YAHOO.widget.ProfilerViewer In this example, a German translation provided by Christian Heilmann is applied to the UI.
Customizing the ProfilerViewer UI for non-English languages is easy. In the example below, we've applied a German translation provided by Christian Heilmann to the ProfilerViewer.
This example has the following dependencies:
All of the interface's language strings live in the static member
YAHOO.widget.ProfilerViewer.STRINGS. Customizing the interface simply involves modifying or replacing that object prior to creating your ProfilerViewer instance.