View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20674 | Bug reports | Survey taking | public | 2026-09-08 14:11 | 2026-09-08 14:11 |
| Reporter | ginosupport | Assigned To | |||
| Priority | none | Severity | minor | ||
| Status | new | Resolution | open | ||
| Summary | 20674: Invalid html lang attribute set for Dutch informal leading to weird auto-translate behavior | ||||
| Description | Using language Dutch informal sets an invalid html lang attribute, which results in incorrect auto-translation. | ||||
| Steps To Reproduce | Steps to reproduceCreate any survey and set the default language to Dutch informal In my case there was a question about the gender of your child ('Wat is het geslacht van je kind'). The user had the browser setup to auto-translate English to Dutch. I've received a screenshot where the word 'kind' (= child) was interpreted as an English word meaning 'type/sort', so the question translated to the equivalent of 'What is the gender of your sort' (which makes no sense). Expected resultThe question is shown as-is. Actual resultThe question was partially translated. I believe this was caused by an invalid lang attribute value, it was rendered as <html lang="nl-informal">, which is not a valid value according to https://www.w3schools.com/tags/ref_language_codes.asp. It should just use "nl", for regular Dutch and for Dutch informal. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 0 | ||||
| Complete LimeSurvey version number (& build) | 6.17.19+260832 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Story point estimate | 0 | ||||
| Browser | |||||
| Database type & version | Postgres 17 | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | 8.4.x | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-09-08 14:11 | ginosupport | New Issue | |
| 2026-09-08 14:11 | ginosupport | File Added: incorrectly-translated-question.png |