pretalx / schedule

The pretalx schedule component.
3 stars 4 forks source link

Schedule widget does not respect locale attribute #20

Closed MikkCZ closed 1 year ago

MikkCZ commented 1 year ago

STR:

What happens:

Expected behavior:


I noticed, that <html lang="cs"> attributes changes the language of the room informational tooltip to Czech (with the attribute missing, the tooltips were in English). But the rest of the widget stays in English.

Also the generated code snippet includes schedule/widget/v2.en.js script file. I changed it to schedule/widget/v2.cs.js, also with no effect.

MikkCZ commented 1 year ago

Changing the locale attribute to de seems to work correctly. You can check our HTML code at https://www.openalt.cz/2023/program/.

rixx commented 1 year ago

Closed in 2b579d5