In Umbraco Forms, isn't it possible to translate t...
# help-with-umbraco
m
When you have file type checking within Umbraco Forms and you upload an incorrect file type, it shows the message "The file type (" + fileName.Substring(startIndex, fileName.Length - startIndex) + ") you tried to upload is not allowed.". This seems to be hardcoded and it does not seem that we can translate this, is this correct?
j
Hi @mbentancour it sure is 🙂
For the translation add # in to the validation message for the field so #myvalidationmessage and then in the translations section you need to add myvalidationmessage as the name of the item and you can add the validation message into the languages you have got configured 🙂
m
@JigitalCharlie that seems to work for all validations except for the file type, as there's no field to configure that?
j
Hmmm FileType. I would add my own custom field then and add my own validation. That would work 😄