Brightspot CMS User Guide

Understanding theme localization

Theme localization provides the ability to edit or add property values from the Brightspot UI in addition to a developer’s properties files.

By default, Brightspot displays Search... as placeholder text in the search bar. Using theme localization, you can display different placeholder text. The following example shows how to change the placeholder text in the search bar.

  1. Following steps 1–3a above, navigate to the localization interface.
  2. In step 3b, leave the locale language to the default English (United States).
  3. In step 3c, do the following:

    1. Under Localizations, click add_circle_outline. A form appears.
    2. In the Name field, enter the name of the resource to be modified. In this example, you override a localized property in the Page.hbs template in a theme for the English (United States) locale. Enter /core/page/Page into this field.

      Theme Localization 1.png

    3. Under Entries, click add_circle_outline. A form appears.
    4. In the Key field, enter placeholderLabel.
    5. In the Value field, enter the desired display text: What are you looking for today?.

      Theme Localization Entering Value

  4. Click Save.

The placeholder text now appears as intended.

Theme Localization Result.png

Previous Topic
Localizing a theme
Next Topic
Changing the theme used in preview
Was this topic helpful?
Thanks for your feedback.
The elements that get you up and running in a matter of days, from pre-built content types, to modules, to landing pages.

Content types
Landing pages
Everything you need to manage and administer content within Brightspot CMS, including plug-and-play integrations.

Admin configurations
A guide for installing, supporting and administering code on the Brightspot platform, including integrations requiring developer support to use.

Field types
Content modeling
Rich-text elements