Yuyz0112 / syncit

a privacy-first co-browsing tool
https://syncit.luckid.io/
319 stars 91 forks source link

How do you use English locale? #15

Open bendavis78 opened 3 years ago

bendavis78 commented 3 years ago

Currently trying out syncit locally using unpkg:

<!doctype html>
<html>
  <head>
    <script src="https://unpkg.com/@syncit/ui@0.2.0/dist/index.js"></script>
    <script src="https://unpkg.com/@syncit/transporter@0.3.2/dist/index.js"></script>
    <link rel="stylesheet" href="https://unpkg.com/@syncit/ui@0.2.0/dist/style.css">
  </head>
  <body>
    <p>Test</p>
  </body>
  <script>
    new syncit.Embed({
      target: document.body,
      props: {
        createTransporter({ role, uid }) {
          return new syncitTransporter.LocalStorageTransporter({
            role,
            uid,
          });
        },
      },
    });
  </script>
</html>

How do I set english locale?

Juice10 commented 1 year ago

Hi @bendavis78, thanks for submitting this issue. The syncit project got moved to the rrweb-io GitHub org, and this repo will get archived soon. Would you mind re-submitting your issue there if it is still relevant for the new 1.0.1 (rrweb 2.0 based) syncit?