craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.27k stars 635 forks source link

[5.x]: Address translation #15682

Closed olsp closed 1 month ago

olsp commented 1 month ago

What happened?

I would like to translate the subfields of an address field. The city for example has different names in different languages but also the street name may be different. I didn't find a way to translate those fields, is this currently possible?

Craft CMS version

5.4.1

i-just commented 1 month ago

Hi, thanks for getting in touch. Can you please clarify what you'd like to do? Do you want to translate the labels of the address subfield; translate the predefined values that show in dropdowns (like in the country field); something else?

olsp commented 1 month ago

Sorry for not being more precise in the first place. What I would like to do is to translate the contents of the subfields.

So for example I have an address, where the city is Vienna (in English). On the German site, it should be called Wien. Right now, only the label field can be translated, as indicated with the icon next to the label.

address-fields