i18n4go
i18n4go copied to clipboard
Move generated i18n_init.go and i18n_resources.go into its own package
Context
Currently when running the rewrite-package the generated go files will use the same package as the package of the source go file. For instance, if the source files are in the main
package so will the i18n_resources.go
and i18n_init.go
files.
This is fine but most projects will have their localizations files in its own dedicated folder. We should look into support generating the files in a different folder and package (eg. i18n
)