How can I change the default’s live_file_input text based on a local provided as a URL param?
Right now the text is always in English, irrespective of the URL parameters (or even the browser’s language).
I guess I would have to rely on some JavaScript?
<div id="upload-audio-from-user-file-system" class="flex flex-col gap-2">
<.label><%= gettext("Upload an audio file from your device") %></.label>
<.live_file_input
upload={@uploads.audio_from_user_file_system}
phx-click="change_upload_type"
phx-value-upload_type="from_user_file_system"
/>
</div>