Eddy
Can I use custom, non-boolean values for a form toggle?
While true, this ‘boolean-to-string’ logic is intended only for this specific form. I believe implementing it at the model level may not be the cleanest approach for my particular scenario.
7 replies
Translating FileUpload component
Thank you for the answer @Sjoerd24!
Interestingly, I had the locale set to
es_PE
, which I believe worked for most automatic translations but not this one. Changing it to es
makes it work indeed, although I'm afraid it will now translate other strings using the Spain variant of Spanish instead of the Peruvian one. But this is something I'll need to investigate further and is out of the scope of this issue.
Thank you!4 replies