Skip to content

Localize labels for privacy settings

The privacy settings are stored via TS.

Example:

privacy {
  about_me = 1
  about_me {
    public = 1
    authenticated = 0
    groups = 0
  }
}

about_me is a column of the TCA (fe_users). Now we need a way to access the lang label for about_me in our fluid template extensions/t3omy/Resources/Private/Templates/UserProfile/UserProfile/Show.html to display a fitting label instead of column name.

Edited by Stefan Busemann