index.ejs 719 B

1234567891011121314151617181920212223242526272829303132333435
  1. ---
  2. title: i18n
  3. layout: example
  4. type: examples
  5. order: 1
  6. ---
  7. {% blockquote %}
  8. Here you'll see a demo of how you might set Uppy to work with language packs (i18n). Actually, two examples: the CDN & Bundled / UMD.
  9. {% endblockquote %}
  10. <link rel="stylesheet" href="app.css">
  11. <% include app.html %>
  12. <script src="app.js"></script>
  13. <hr />
  14. <p id="console-wrapper">
  15. Console output (latest logs are at the top): <br />
  16. </p>
  17. <p>
  18. To load from CDN we're using the following HTML and JavaScript:
  19. </p>
  20. {% include_code lang:html i18n/app.html %}
  21. <p>
  22. Or, if we want the UMD version, this JavaScript:
  23. </p>
  24. {% include_code lang:js i18n/app.es6 %}
  25. <p>
  26. And the following CSS:
  27. </p>
  28. {% include_code lang:css dragdrop/app.css %}