JSON translation code generator for g18n projects
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