XapaJIaMnu / translateLocally

Fast and secure translation on your local machine, powered by marian and Bergamot.
MIT License
501 stars 28 forks source link

Model directory path #139

Closed pacien closed 1 year ago

pacien commented 1 year ago

Currently, models are downloaded into the dir ~/.config/tranlateLocally/.

  1. This is not ideal for people tracking their dotfiles with .git for example. A better place for downloadable binary data would be under $XDG_DATA_HOME.

  2. It would be nice to also look for models in each $XDG_DATA_DIRS. This would allow system package managers to install models for all users (easier deployment and updates).