vslavik / poedit

Translations editor for Mac, Windows and Unix
https://poedit.net
MIT License
1.79k stars 278 forks source link

Improve importing translations #581

Open jupsoleil opened 5 years ago

jupsoleil commented 5 years ago

Hello, When importing translations (eg, po files edited by team members), I need to import them per subfolder (eg, first select all files in Internat\de\LC_MESSAGES , then for each next language repeat the procedure. Could you allow selecting the top folder, and process all files below?

Secondly, if I import the same set of po files (or TMX file) which I imported before, the 'Stored translations' count doesn't increase (which is of course correct) but the 'Database size on disk' does increase. Is this normal behaviour?

Thanks for your effort.

vslavik commented 5 years ago

When importing translations

Do you mean into translation memory or something else? You don't actually say…

Could you allow selecting the top folder, and process all files below?

If you mean TM import, then you don't need to do anything per-language and modern versions of operating system's file pickers (it doesn't help that you don't mention yours) let you search for files and select from search results, so it seems unnecessary to have special handling for that case — unless I'm missing something.

Secondly,

Please follow the rule of one issue per one thing, and please limit the use of the bug tracker to reporting bugs, not idle questions. Generally speaking, databases can be weird like that.

jupsoleil commented 5 years ago

Hello, poedit is used on W10. I mean indeed importing into TM. Thanks for your suggestion, but when using the 'Search' for .po files while having selected the Internat folder, and selecting all results, W10 throws the error "You can choose multiple files only if they are all located in the same folder".

vslavik commented 5 years ago

W10 throws the error "You can choose multiple files only if they are all located in the same folder".

Ah.

SlimDeluxe commented 4 years ago

What you can do as a workaround is to use the "find" feature in your file explorer and then search for all .po files, then select the results and copy them to a new folder. Then you can use the TM import tool. However, I am a long time user of PoEdit and I remember it once being able to recursively scan a folder for all containing .po files. The feature must have been removed.