### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/5613

<div type='discussions-op-text'>

<sup>Originally posted by **vfacta** May 19, 2023</sup>
Is it possible to change the language of the cookie consent banner to the website's main language? 

[#433](https://github.com/quarto-dev/quarto-cli/issues/433#issue-1172994895) already asked if it was possible to change the the text inside the pop-up, but that question seems to aim at modifying the matter of what's being said there.

I don't intend to change the content per se of what is being said, but  to display the  translation from the default English text to the language set in the yml file. As the Cookie pop-up has, when clicked on "Change my preferences", a box for language selection close to the upper right corner, it was expected to have an automatic translation according to what was defined in the yml, as it is to other predefined texts.

I don't know if this resource has already been implemented or if I'm doing something wrong. 

Minimal working example:

 - _quarto.yml
```
project:
  type: website

lang: pt

website:
  
  title: Untitled

  cookie-consent: true

format:
  html: default
```

- index.qmd

```
---
title: "Lorem Cookie"
---

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
```

</div>
dragonstyle
2023-05-22T13:41:37Z
dragonstyle
v1.4
closed
Cookie Consent Language
https://github.com/quarto-dev/quarto-cli/issues/5624