Hook up localized messages.json to website

Right now we use the navigator language to determine localization and
replace the website contents with translated strings.
This commit is contained in:
Cecylia Bocovich 2019-10-08 18:00:43 -04:00
parent 9140c7648c
commit f6517f60ce
3 changed files with 65 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<!doctype html>
<html lang="en">
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
@ -18,7 +18,7 @@
<p class="diagram"><img src="https://trac.torproject.org/projects/tor/raw-attachment/wiki/doc/Snowflake/snowflake-schematic.png" alt="Diagram" /></p>
<p data-mdgid="__MSG_websiteIntro__">Snowflake is a system to defeat internet censorship. People who are
<p data-msgid="__MSG_websiteIntro__">Snowflake is a system to defeat internet censorship. People who are
censored can use Snowflake to access the internet. Their connection goes
through Snowflake proxies, which are run by volunteers. For more detailed
information about how Snowflake works see our
@ -96,5 +96,6 @@
</section>
</section>
<script src="index.js"></script>
</body>
</html>