<@U04UQ68083H> How do I change the label text for ...
# ory-copilot
b
@chilly-king-10285 How do I change the label text for a node?
c
A message from kapa.ai
The label text for a node in Ory can be changed by modifying the
meta.label.text
field of the node. This field is used to specify the label that is displayed for the node in the user interface. Here is an example of how a node's label text is defined in the JSON representation of a node:
Copy code
json {   "type": "input",   "group": "password",   "attributes": {     "name": "password",     "type": "password",     "required": true,     "disabled": false   },   "messages": [],   "meta": {     "label": {       "id": 1070001,       "text": "Password",       "type": "info"     }   } }
In this example, the label text for the node is "Password". To change this label text, you would modify the value of
meta.label.text
. Please note that this change should be done in the context of the Ory flow that you are working with, such as the login flow, registration flow, recovery flow, etc. The specific instructions for integrating these flows with your own user interface can be found in the [Ory documentation](https://www.ory.sh/docs/kratos/bring-your-own-ui/custom-ui-basic-integration). If you want to change the labels to a different language, you would need to provide the translations for the labels in your application. Ory itself does not provide built-in support for internationalization or localization.