Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move generated i18n_init.go and i18n_resources.go into its own package #140

Open
Aerex opened this issue Jul 12, 2024 · 0 comments
Open

Comments

@Aerex
Copy link
Collaborator

Aerex commented Jul 12, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant