apertium / apertium-html-tools

Web application providing a fully localised interface for text/website/document translation, analysis and generation powered by Apertium.
http://wiki.apertium.org/wiki/Apertium-html-tools
GNU General Public License v3.0
39 stars 90 forks source link

Add noscript warning #414

Closed flammie closed 3 years ago

flammie commented 3 years ago

I use noscript extension on chromium and beta.apertium.org opens currently totally empty screen. At least a short informative message would be nice, but I think that just translating plain text snippet should not really need javascript...

sushain97 commented 3 years ago

Happy to approve a PR which adds a noscript tag.

It has never been an objective of this repository to support no-JS functionality and I don't expect that it ever will be given its feature set and goals.

flammie commented 3 years ago

sounds good, I'm not very good at modern web stuffs but if I read the code correctly it's probably not easy to make the noscript part localisable?

sushain97 commented 3 years ago

it's probably not easy to make the noscript part localisable?

I can't see how that would be possible since you can't change the text or redirect the user based on their locale without using JS.

The web-server itself could serve different pages but this project is currently web-server agnostic.