View Issue Details

This issue affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
20674Bug reportsSurvey takingpublic2026-09-08 14:11
Reporterginosupport Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Summary20674: 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 reproduce

Create 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 result

The question is shown as-is.

Actual result

The 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.
I suspect there might be other languages that are affected by this issue.

TagsNo tags attached.
Attached Files
Bug heat0
Complete LimeSurvey version number (& build)6.17.19+260832
I will donate to the project if issue is resolvedNo
Story point estimate0
Browser
Database type & versionPostgres 17
Server OS (if known)
Webserver software & version (if known)
PHP Version8.4.x

Users monitoring this issue

There are no users monitoring this issue.

Activities

Issue History

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