WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.58k stars 1.02k forks source link

Option to keep new line at the end of the translation output file #12318

Open AntsyLich opened 2 months ago

AntsyLich commented 2 months ago

Describe the problem

Our formatter formats files to include a new line at the end of each file. When translation comes from weblate this new lines get removed for those file (e.g. https://github.com/mihonapp/mihon/pull/1111/files#diff-c5ef8344b2b22a7446414d7db59d9fdc021469c9e2dbfadf498689bd9608df81) which on turn requires us to reformat those files

Describe the solution you would like

An option or way to keep those new lines

Describe alternatives you have considered

No response

Screenshots

No response

Additional context

I've looked for a similar option or addon/plugin with similar functionality but wasn't able to find one. We use https://hosted.weblate.org/

github-actions[bot] commented 2 months ago

This issue has been added to the backlog. It is not scheduled on the Weblate roadmap, but it eventually might be implemented.

In case you need this feature soon, please consider helping or push it by funding the development.