Pull locale from state, almost get dynamic locales working #7

This commit is contained in:
Alex Gleason
2020-04-28 15:25:10 -05:00
parent ea5643f138
commit c0f17cfc21
4 changed files with 34 additions and 36 deletions

View File

@ -7,12 +7,12 @@
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="stylesheet" href="/packs/css/common.css">
<script src="/packs/js/common.js"></script>
<script src="/packs/js/locale_en.chunk.js"></script>
<script src="/packs/js/locale_en.chunk.js" data-react-helmet="true"></script>
<script src="/packs/js/application.chunk.js"></script>
<link rel="stylesheet" href="/packs/css/lime.chunk.css" data-react-helmet="true">
</head>
<body class="app-body">
<noscript>To use Soapbox, please enable JavaScript.</noscript>
<div class="app-holder" data-props="{&quot;locale&quot;:&quot;en&quot;}" id="gabsocial"></div>
<div class="app-holder" id="gabsocial"></div>
</body>
</html>