Re: [jlreq] port scripts into respec post-script by promise (#264)

> Sorry, i thought i'd already replied on this. It's been a long time since i wrote the code which is being changed here, and (1) it will take me a long time to review properly, (2) i am not familiar with how to use promises in JS.
> 
> Could someone indicate why the change is being made, and how it affects current functionality for the user?

The change is being made because the current language switching function doesn't work. See https://github.com/w3c/jlreq/issues/260

> Btw, i thought that the Japanese translations for the SOTD were provided by respec - we worked with them on localisation code. Could someone check the situation? (maybe @xfq).

Their translation [does not include SOTD](https://github.com/himorin/respec/blob/develop/src/w3c/templates/headers.js), and their localisation code is not suitable for us IIRC. It is only suitable when the full document is in Japanese (static `lang=ja`, not dynamic switching).


-- 
GitHub Notification of comment by xfq
Please view or discuss this issue at https://github.com/w3c/jlreq/pull/264#issuecomment-1970661295 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 29 February 2024 08:39:46 UTC