Suppose I created a custom form using Forms API. I added a file upload/image field in there. For your field to become translatable you will need to define a config schema file.

How can I add a file upload field on my custom form, set it as translatable, and when I go to the translate tab, I will be presented with a file upload field also ? Because from what I see, the translation tab only supports textfields for scalar types.

Comments

alexecus created an issue. See original summary.

alexecus’s picture

Priority: Normal » Major
Wim Leers’s picture

Category: Bug report » Support request
Priority: Major » Normal
Status: Active » Fixed

A custom form (created using code) does not have configuration. To translate those strings, you must use interface translation.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.