Score:0

How can I change the label of the title field "Name" of my taxonomy?

gr flag

I want to customize the title label of my taxonomy, the name field. By default, its value is "Name".

I know I can use the mymodule_form_alter hook and do as followed:

$form['title']['widget'][0]['#title'] = t('My Custom Name'); 

But I want to do it in the UI and export the configurations like any other fields. Also, I want to be able to translate my custom name.

Score:2
gr flag

Use the Base Field Override UI, go to "Structures" > "Taxonomies" > "Manage fields" and go to the new "Base Field Override" tab. You can override the "Name" field here and translate it.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.