YUI Library Home

YUI Library Examples: ProfilerViewer Control: ProfilerViewer Internationalization: Spanish

ProfilerViewer Control: ProfilerViewer Internationalization: Spanish

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.

Adding a Spanish Translation for the ProfilerViewer 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.

Configuration for This Example

You can load the necessary JavaScript and CSS for this example from Yahoo's servers. Click here to load the YUI Dependency Configurator with all of this example's dependencies preconfigured.

Copyright © 2009 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings