Captions on form picker form has wrong language
# help-with-umbraco
s
For a client we have a block called "Form Block" where the editor simply picks a form in a form picker. Then we get the form as part of the block's properties using the Content Delivery API and render it dynamically (using Accept-Language header to get the language specific content), which all works fine. But it seems that regardless of what language we're visiting the site in, the magic strings are only being presented in en-US, which is not even the master language. Why is it not getting translated into the correct language? https://cdn.discordapp.com/attachments/1314118214376230932/1314118214812307457/image.png?ex=67529b75&is=675149f5&hm=d5a00af06b7f34105d6eebc9a8e6605cb732d201cb765ce817b76c1a63b66033&
Forgot this image, in this picture we're visiting the site in Swedish, yet it's getting the en-US version of the form's captions (the header is translated correctly) https://cdn.discordapp.com/attachments/1314118214376230932/1314118695294992394/image.png?ex=67529be8&is=67514a68&hm=63beba8786d80d3f4f33c53fe7edaf11237f94683b623dc2e389381dc828890e&
And just for the fun of it, I made a workaround that takes the Id from the form, and re-fetches it onMount for this component from the Forms API, and that way we get the correct translations for the magic strings. But this must surely be a bug that Umbraco does not properly provide the magic strings via a form picker in the content delivery api but it works fine via the forms api?
15 Views