1234567891011121314151617181920212223242526272829303132333435 |
- ---
- title: i18n
- layout: example
- type: examples
- order: 1
- ---
- {% blockquote %}
- 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.
- {% endblockquote %}
- <link rel="stylesheet" href="app.css">
- <% include app.html %>
- <script src="app.js"></script>
- <hr />
- <p id="console-wrapper">
- Console output (latest logs are at the top): <br />
- </p>
- <p>
- To load from CDN we're using the following HTML and JavaScript:
- </p>
- {% include_code lang:html i18n/app.html %}
- <p>
- Or, if we want the UMD version, this JavaScript:
- </p>
- {% include_code lang:js i18n/app.es6 %}
- <p>
- And the following CSS:
- </p>
- {% include_code lang:css dragdrop/app.css %}
|