> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dc.ag/llms.txt
> Use this file to discover all available pages before exploring further.

# dynamic content - Manage Text Constants

> How to identify, create, and edit text constants in your shop.

Text constants are an important tool that defines various texts in your shop.

For example, the text "Shopping Cart" next to the corresponding icon, or the label "Search" in the search bar, are text constants of this kind. The same applies to buttons such as "Log In" or "Register".

In the following, we will show you how to identify these text constants and how to create or edit them.

<Steps>
  <Step>
    ## Step 1: Navigate to the Text Constants Menu

    First, navigate to the text constants menu. You can access it by hovering over the settings, i.e. the gear icon in the top right, and clicking on "Text Constants" in the drop-down menu.

    You should now be in this menu.

    <Frame>
      <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/navigation-textkonstanten-menue.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=6f0412b041d73584b6fb5867fc1e66f3" alt="Navigation to the Text Constants Menu" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/navigation-textkonstanten-menue.png" />
    </Frame>
  </Step>

  <Step>
    ## Step 2: Activate Maintenance View

    To identify the text constants, open the maintenance view by clicking on the icon in the top left with the label "Activate Maintenance View" below it.

    This opens your page in the frontend. Instead of displaying the text stored in the respective text constants, it shows the name of each text constant. This name or tag is displayed in square brackets between hash symbols. For example, it looks like this: \[#login#]. The name of this text constant would then be "login".

    This allows you to determine which texts are text constants and what they are called.

    <Tip>
      You can deactivate this maintenance view by clicking on "Deactivate Maintenance View", so that the text stored in the constant is displayed again and your pages look normal again.
    </Tip>

    <Columns cols={2}>
      <Column>
        <Frame>
          <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/pflegeansicht-aktivieren.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=5e10825d3b92811f8313bdd049f04c7b" alt="Activate Maintenance View" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/pflegeansicht-aktivieren.png" />
        </Frame>
      </Column>

      <Column>
        <Frame>
          <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/textkonstanten-erkennen-1.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=70ea2e11a8f337a59e49d988d6a0e0fe" alt="Identifying text constants in the maintenance view" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/textkonstanten-erkennen-1.png" />
        </Frame>
      </Column>
    </Columns>

    <Columns cols={2}>
      <Column>
        <Frame>
          <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/pflegeansicht-deaktivieren.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=514d26d100666da9f1f089cd94a4b1c1" alt="Deactivate Maintenance View" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/pflegeansicht-deaktivieren.png" />
        </Frame>
      </Column>

      <Column>
        <Frame>
          <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/textkonstanten-erkennen-2.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=6a70ddb94f6644805400e58603c9e3d5" alt="Identifying text constants example 2" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/textkonstanten-erkennen-2.png" />
        </Frame>
      </Column>
    </Columns>
  </Step>

  <Step>
    ## Step 3: Create or Edit a Text Constant

    Back in the CMS, you can create a new text constant by clicking on the "Plus" icon with the label "New" below it.

    By double-clicking on a text constant, you can edit it. Using the search field displayed above all text constants, you can search for a constant by the name shown in the maintenance view.

    In our example, we want to edit the text constant "login", i.e. the text in the "Log In" button.

    Therefore, we search for "login" using the search field and edit the entry by double-clicking on it.

    <Columns cols={3}>
      <Column>
        <Frame>
          <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/neue-textkonstante.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=314981cf83d2250dfe73d379ffa7feb3" alt="Create a new text constant" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/neue-textkonstante.png" />
        </Frame>
      </Column>

      <Column>
        <Frame>
          <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/textkonstanten-bearbeiten.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=e18de3be9eb7e40c4c4a8495acc620d7" alt="Edit a text constant by double-clicking" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/textkonstanten-bearbeiten.png" />
        </Frame>
      </Column>

      <Column>
        <Frame>
          <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/textkonstante.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=7b3fd0fed5793a2db8ff90b092f0cbcc" alt="Text constant login" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/textkonstante.png" />
        </Frame>
      </Column>
    </Columns>
  </Step>

  <Step>
    ## Step 4: Define the Text Constant Tag

    If you have decided to create a new text constant, you must first define a tag and a text directly.

    The tag here is the name of the text constant, which is displayed in the maintenance view.

    In addition, there is immediately the option to maintain the text in multiple languages. The languages listed there are based on the languages you have created for your website.

    <Frame>
      <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/tag-und-text.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=858d6a46306f7394d9a93dd36ccf889e" alt="Define text constant tag and text" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/tag-und-text.png" />
    </Frame>
  </Step>

  <Step>
    ## Step 5: Create and Edit New Text

    If you now want to edit a text constant, the tag is already defined.

    There you can create a new text by clicking on "New" under the heading "Text Constants". This is useful, for example, to maintain a new language for the respective text constant.

    Afterwards, you must select the language to which the text should be assigned. You also have the option to select which website the text constant was created for.

    If you want to edit an existing text, you can do so as usual by double-clicking on the respective text.

    In the window that opens, the text can be edited.

    In our example, we want to change the text from "Log In" to "Sign in here!". Therefore, we simply enter the new text now.

    <Check>
      After clicking Save, the change is already visible on the website.
    </Check>

    <Columns cols={3}>
      <Column>
        <Frame>
          <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/neuen-text-erstellen.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=46b775d14baabd784e40d761f3fce1f7" alt="Create new text" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/neuen-text-erstellen.png" />
        </Frame>
      </Column>

      <Column>
        <Frame>
          <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/sprache-und-webseite.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=af0ef6b3d497a68591e31e7941609c0b" alt="Select language and website" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/sprache-und-webseite.png" />
        </Frame>
      </Column>

      <Column>
        <Frame>
          <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/texte-bearbeiten.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=1bf72b08699e622613b3923ee95eb065" alt="Edit texts" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/texte-bearbeiten.png" />
        </Frame>
      </Column>
    </Columns>

    <Columns cols={3}>
      <Column>
        <Frame>
          <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/text-bearbeiten-1.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=6a9a7665af9ac6cbd4e9a9eda800f3b8" alt="Edit text example 1" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/text-bearbeiten-1.png" />
        </Frame>
      </Column>

      <Column>
        <Frame>
          <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/text-bearbeiten-2.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=257a9a8b7bdea74860341da65faf0b63" alt="Edit text example 2" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/text-bearbeiten-2.png" />
        </Frame>
      </Column>

      <Column>
        <Frame>
          <img src="https://mintcdn.com/dcag/Vj_1RmUF53dElXiD/images/dynamic-content/textkonstanten/text-bearbeiten-3.png?fit=max&auto=format&n=Vj_1RmUF53dElXiD&q=85&s=854678a839e8f27aced3a3385459b4d9" alt="Edit text example 3" width="1080" height="643" data-path="images/dynamic-content/textkonstanten/text-bearbeiten-3.png" />
        </Frame>
      </Column>
    </Columns>
  </Step>
</Steps>

## Related Topics

<CardGroup cols={2}>
  <Card title="Languages" icon="language" href="/docs/en/dynamic-content/user-guide/sprachen">
    Create and manage languages for your website.
  </Card>

  <Card title="Create Content" icon="pen-to-square" href="/docs/en/dynamic-content/user-guide/inhalte-erstellen">
    Create and edit the content of a page.
  </Card>

  <Card title="General Navigation" icon="compass" href="/docs/en/dynamic-content/user-guide/generelle-navigation">
    Initial orientation in the CMS and structure of the interface.
  </Card>
</CardGroup>
