Go Easy i18n allows you to load your translations in different ways:
If you have a small set of translations, you can load them manually as shown in the Basic Usage Example.
You can fetch your JSON/YAML translations from a database or a remote API and load them into the i18n instance as part of the startup of your program, look at the example to see how to do it:
You can load your translations from JSON/YAML files in your file system, look at the example to see how to do it:
If you want to load your translations from JSON/YAML files embedded in your binary or some other implementation of the fs.FS
interface, look at the example to see how to do it: