Jump to content

Localization examples

From Resco's Wiki

Entity item on home screen

In this example, we rename the title and subtitle of an entity on home screen, add a custom icon for the item.

  1. In Woodford, edit the home screen. Select the entity and click Rename. Use a unique one-word string, for example, "CustomAccount".
  2. Select Design > Localization from the Administrator menu and edit a language, Click Add to add a new localization string. As the ID, use HomeTitle.HomeItemName; in this particular example, HomeTitle.CustomAccount. Add another string for HomeSubTitle.CustomAccount.
  3. If you want to change the icon of the home screen item, select Design > Images from the Administrator menu. Go to the Home directory and click Add to add a new image. As the image name, use the name you used in step 1, for example "CustomAccount".

Hub item on home screen

In this example, we create a new hub, add it to the home screen with a custom label and icon.

  1. In Woodford, go to Components > Entity Hubs and create a new hub. Give it a unique, one-worded name, for example "myHub".
  2. Go to Components > Entity Hubs and add the new hub to your home.
  3. Go to Design > Localization and add new strings. As ID, use myHub for the title and myHub.SubTitle for the subtitle.

Change names of views

TBD

Change names of view buttons and commands

TBD