You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies for the long wait on this one. After checking with the team, this feature of Document Type Localization works only for the following elements, as mentioned in the documentation:
Document Type names and descriptions.
Property names and descriptions.
Custom property validation messages.
Tab and group names.
Unfortunately, this feature does not apply to Data Type Settings (such as dropdowns, radio button lists, and toggles).
At the moment, there isn’t a built-in way to localize these labels in the Backoffice. However, if you need translations for the frontend, you can use the Dictionary feature in the Umbraco Backoffice:
Go to Translation > Dictionary in the Backoffice.
Create a new dictionary item, e.g.:
Key: label-is-on
Danish translation: "The label er slået til"
English translation: "The label is on"
(Repeat for label-is-off.)
In your Toggle property settings, set:
Label (on state): #label-is-on
Label (off state): #label-is-off
In your template, render the dictionary item using @Umbraco.GetDictionaryValue("label-is-on")
This allows you to manage translations for these property labels on the frontend, but unfortunately, it won’t affect how they appear in the Backoffice.
Here is nice how to translate doc-types and almost everything.:
13/umbraco-cms/fundamentals/data/defining-content/document-type-localization.md(url)
but what I miss is how to traslate dropdowns/radiobuttonlist/toggle
The text was updated successfully, but these errors were encountered: