---
updatedAt: 2025-06-16T23:14:58.000Z
agentTools:
  projectIndex: https://developers.directscale.com/llms.txt
---

# Managing and Localizing Text Elements

Suppose you're including text elements in your code or have text elements that you want to translate into other languages instead of hard-coding the static text. In that case, you can use the `translate` attribute to assign a String Key to HTML elements.

For example,

```
<div translate="sign_on"></div>
```

This method assigns the String Key `sign_on` to the element. You can then add the String Key in the **Localization** pages of the Admins and enter a text value and its translations. This method gives the added benefit of managing text elements without locating them in the source code.

Both the **Web Office** and **eCommerce Shop** have their own **Localization** pages, and you manage the translations separately.

For more information in the Help Center, see:

* [Changing Static Content and eCommerce Shop Localization](https://help.directscale.com/hc/en-us/articles/360042832273)
* [Localization of Web Office Content](https://help.directscale.com/hc/en-us/articles/360038403613-Localization-of-Web-Office-Content)
* [Managing Translations in Web Office Admin](https://help.directscale.com/hc/en-us/articles/360043942513-Managing-Translations-in-Web-Office-Admin)