Supported languages
Turnstile supports auto
(default), which uses the visitor’s browser language if it is supported. You can also explicitly set the widget’s language using the client-side configuration attribute to one listed on the table below:
Language | Language code (4 letters) | Language code (2 letters) |
---|---|---|
Arabic (Egypt) | ar-eg | ar |
Bulgarian (Bulgaria) | bg-bg | bg |
Chinese (Simplified, China) | zh-cn | zh |
Chinese (Traditional, Taiwan) | zh-tw | — |
Croatian (Croatia) | hr-hr | hr |
Czech (Czech Republic) | cs-cz | cs |
Danish (Denmark) | da-dk | da |
Dutch (Netherlands) | nl-nl | nl |
English (United States) | en-us | en |
Farsi (Iran) | fa-ir | fa |
Finnish (Finland) | fi-fi | fi |
French (France) | fr-fr | fr |
German (Germany) | de-de | de |
Greek (Greece) | el-gr | el |
Hebrew (Israel) | he-il | he |
Hindi (India) | hi-in | hi |
Hungarian (Hungary) | hu-hu | hu |
Indonesian (Indonesia) | id-id | id |
Italian (Italy) | it-it | it |
Japanese (Japan) | ja-jp | ja |
Klingon (Qo’noS) | tlh | — |
Korean (Korea) | ko-kr | ko |
Lithuanian (Lithuania) | lt-lt | lt |
Malay (Malaysia) | ms-my | ms |
Norwegian Bokmål (Norway) | nb-no | nb |
Polish (Poland) | pl-pl | pl |
Portuguese (Brazil) | pt-br | pt |
Romanian (Romania) | ro-ro | ro |
Russian (Russia) | ru-ru | ru |
Serbian (Bosnia and Herzegovina) | sr-ba | sr |
Slovak (Slovakia) | sk-sk | sk |
Slovenian (Slovenia) | sl-si | sl |
Spanish (Spain) | es-es | es |
Swedish (Sweden) | sv-se | sv |
Tagalog (Philippines) | tl-ph | tl |
Thai (Thailand) | th-th | th |
Turkish (Turkey) | tr-tr | tr |
Ukrainian (Ukraine) | uk-ua | uk |
Vietnamese (Vietnam) | vi-vn | vi |