Hello,
Good question, I think that both solutions can do the job, and it depends on your needs.
If you choose the second option I think you also need to edit the `MANIFEST.in` to recursively grab your files in your package, then that will look like something like: ``` # MANIFEST.in recursive-include translations/ * ``` ``` # setup.cfg [files] packages = yourproject data_files = etc/yourproject/translation = translations/* ```
Where do you want to use this? I mean, do you have a specific project behind this question?
Le lun. 25 nov. 2019 à 16:18, info@dantalion.nl info@dantalion.nl a écrit :
Hello everyone :),
I was wondering what the preferred method to install localization files is. I can think of some probably solutions such as:
1: Including the locale files as part of a package for the target systems package manager (pacman, yum, apt, etc). 2: adding the locale files to the [files] directive in setup.cfg:
I hope someone can answer my question.
Kind regards, Corne Lukken