The first document presents an overview, here is a more detailed description
Projects using OmnI18n use it in 4 layers
- The
client
: The client manages the cache and download along with providingTranslator
s that will interpolate - (optional) The HTTP or any other layer. This part is implemented by the user
- The
server
: The server exposes functions to interact with the languages - The
database
: A class implementing some interface that interacts directly with a database
The library can be imported in a static website.
There are some utils that have been done for the library and are exported with it (flags, js-like json & defer)