Hello @leuqim
if you embed your typeform in your own website, you can pass the data to the form via hidden fields.
You can use navigator.language provided by the browser like this:
<div id="wrapper" style="width:100%;height:600px;"></div>
<script src="//embed.typeform.com/next/embed.js"></script>
<link rel="stylesheet" href="//embed.typeform.com/next/css/widget.css" />
<script>
window.tf.createWidget('<form-id>', {
container: document.querySelector('#wrapper'),
hidden: {
language: navigator.language || 'unknown'
}
})
</script>
Alternatively, if you do not want to rely on users browser language (it might be different from their actual language / location), you can retrieve the data from a 3rd party service (eg. https://ip-api.com/ or https://www.ipify.org/ or https://db-ip.com/) and pass those values as hidden fields. You can find a similar implementation with fetching the data from 3rd party API in this thread: