Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

locize-polyglot-example

Example how to use polyglot and locize.com using a node.js server.

starting the sample

npm i
npm start

open localhost:8080 in your browser

What we do:

  1. We use the locize API Fetch Route to load the translations
  2. We add the translations to the returned html like described on the polyglot page
  3. From there use the polyglot function like used

Alternatively you could also load the resources via xhr and append that to polyglot via polyglot.extend

About

[DEPRECATED] example using polyglot with locize

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published