The ProfilerViewer Control can be easily internationalized by modifying the
STRINGS member of
YAHOO.widget.ProfilerViewer In this example, a Spanish translation provided by Caridy Patiño Mayea is applied to the UI.
Customizing the ProfilerViewer UI for non-English languages is easy. In the example below, we've applied a translation provided by Caridy Patiño Mayea 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 instantiating your ProfilerViewer instance.