> For the complete documentation index, see [llms.txt](https://docs.babelshark.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.babelshark.net/babelshark-basics/setting-visitors-language.md).

# Setting visitor's language

By default your project appears in default (source) language to the user. There are two ways to switch to the desired language.

## 1. BabelShark language drop-down

<figure><img src="https://1290550914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUf86Tx3GrUXukSHhL9ht%2Fuploads%2FsqAoJwc6dpzZ7Xj4J6MI%2Fimage.png?alt=media&amp;token=f148f49c-098e-46b6-8bd0-dd949bae9346" alt=""><figcaption><p>Language drop-down in BabelShark account</p></figcaption></figure>

Read more here about language drop-down code snippet.

## 2. Change via JavaScript API

Call *babelShark.setLanguage(languageCode)* to switch current user to the desired language. The language setting will be stored within the user's browser.
