# Including common externalized strings

All Discovery Framework components tend to include common messages, like those associated with the data source selector and those associated with saving preferences. The default localizations for these messages are automatically included in your compiled component.

The messages below are the default values. You can change or override these by including the same keys in your PluginResource_[locale].properties file.

    ### Common messages

    df.portlet-does-not-support-datasource-api=Portlet does not support the API used by this data source.

    # Data source selector messages
    df.select-a-datasource=Select a data source
    df.update-datasource=Update data source

    df.no-data-source-selected=No data source selected for this portlet. Go to Preferences and select a data source.
    df.no-data-source-specified=Error updating data source binding. No data source was specified in the request.
    df.data-source-binding-unchanged=Data source binding was not changed from \"{0}\".
    df.data-source-binding-unsupported-api=Data source binding was not changed from \"{0}\". Portlet does not support the API used by the data source \"{1}\".
    df.data-source-binding-changed-successfully=Data source binding successfully changed to data source \"{0}\".
    df.data-source-binding-error=Error updating data source binding with new data source name \"{0}\"; please notify your system administrator.

    # Save preferences messages
    df.save-prefs-success=Preferences updated successfully.
    df.save-prefs-error=There was an error saving your preferences.
    df.save-analytics-prefs-success=Analytics preferences updated successfully.
    df.save-analytics-prefs-error=There was an error saving your analytics preferences.

Note: The Discovery Framework retrieves these localized messages with their English defaults. If the messages are not included in a portlet's resource bundle, the Discovery Framework uses the hard-coded English defaults without displaying an error.