START HERE
Install and run adaptive-i18n
Install the package, point the service at MongoDB, and resolve your first string.
Install
- 1npm install @x12i/adaptive-i18n
- 2Import the client or the /node and /mongo entrypoints
Run the service
- 1ADAPTIVE_I18N_MODE=dev
- 2ADAPTIVE_I18N_MONGO_URI=mongodb://localhost:27017
- 3Listens on port 9500 by default
The service requires ADAPTIVE_I18N_MODE to be dev or prod and a reachable
MongoDB. By default it uses the library FuncX adapter (a local mock), so you can
resolve translations end to end without any external translation API.