Is there a possibility to translate attributes (fields)

System Information
  • Strapi Version: 4.5.0
  • Operating System: Windows
  • Database: MariaDB
  • Node Version:
  • NPM Version:
  • Yarn Version:

Hello,

is there a possibility to translate attributes (fields) in content manager? I want to translate these fields (marked with blue rectangle):

I checked the official documentation and the forum but I did not found out an answer for this case. Is it please possible and if so, can you please provide an example how to do it?

Thank you in advance,

Miroslav

These are the links that I checked and are the most relevant to the topic:

2 Likes

Hello,

Sorry for taking so long to answer.

If you haven’t found the answer yet, I can help you with that.

  1. Access an item created by you in your collection/single type.
  2. Access Configure the view and click to edit some field.
  3. Basically the content of “Label” is what you will use in the translation of the file, for example, if the name of your field is “description”, in the translation file you will use the key “description”(yes, just “description”), like this:

Editing “description” field in Configure the view

Translation file in Strapi

Final result

You can put any name, if you want to differentiate the “description” from other types of collection, for example, “descriptionApp” or “descriptionFile”, this will always be the identifier when translating.

I’m at your disposal and hope I helped.

Sincerely Vitor

2 Likes

Hi,
i have the following structure
image

and the following translation file

{
	"FirstName": "Vorname",
	"label.FirstName": "Vorname",
	"LastName": "Nachname",
	"label.LastName": "Nachname",
	"EmailAddress": "E-Mail Adresse",
	"label.EmailAddress": "E-Mail Adresse",
	"WhatsAppNumber": "WhatsApp Nummer",
	"label.WhatsAppNumber": "WhatsApp Nummer",
	"description.FirstName": "Der Vorname der Kontaktperson",
	"description.LastName": "Der Nachname der Kontaktperson",
	"description.EmailAddress": "Die E-Mail Adresse fĂĽr Benachrichtigungen",
	"description.WhatsAppNumber": "Die WhatsApp Nummer fĂĽr Nachrichten"
}

But it doesnt work for me.
What am i doing wrong?

Hey guys,
do any of you have an suggestion? I am really struggling here