Something went wrong. Try again.
JSON translation code generator for g18n projects
Something went wrong. Try again.
g18n-dev examples
3 folders · 3 files
README.md
g18n-dev example #
This example keeps one JSON file per language in
src/test_project/translations/.
Generate the Gleam module:
gleam run -m g18n/dev generate
The command accepts both flat dotted-key JSON and nested JSON. It writes
src/test_project/translations.gleam with translation and translator functions
for each file.
Run the example tests:
gleam test