[Bug 35174] New: Remove .po files from the codebase
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35174 Bug ID: 35174 Summary: Remove .po files from the codebase Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: jonathan.druart+koha@gmail.com Reporter: jonathan.druart+koha@gmail.com QA Contact: testopia@bugs.koha-community.org CC: dcook@prosentient.com.au, katrin.fischer@bsz-bw.de, m.de.rooy@rijksmuseum.nl, mtj@kohaaloha.com, tomascohen@gmail.com We should actually remove the .po files from the git history (Git_Splitting_and_Shrinking), but a first step could be to stop including them. With the migration to Weblate we now have a new repository koha-l10n (https://gitlab.com/koha-community/koha-l10n) that contains the .po files (update regularly by Weblate). Devs will simply need to git clone koha-l10n in misc/translate/po. For prod we could have additional debian package(s), either koha-l10n with all the .po files or one per language (koha-l10n-fr). Or, to start, we just embed all of them when building the package. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35174 --- Comment #1 from David Cook <dcook@prosentient.com.au> --- *** Bug 27236 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35174 --- Comment #2 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 159021 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159021&action=edit Bug 35174: Do not explode if po dir does not exist Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35174 --- Comment #3 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 159022 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159022&action=edit Bug 35174: Add a warning to the about page Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35174 --- Comment #4 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 159023 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159023&action=edit Bug 35174: Add misc/translator/po to .gitignore Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35174 --- Comment #5 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 159024 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159024&action=edit Bug 35174: Don't run gulp po commands if po dir is missing Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35174 --- Comment #6 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- See also: ktd changes https://gitlab.com/koha-community/koha-testing-docker/-/issues/402 Wiki page about the context (move to Weblate) https://wiki.koha-community.org/wiki/Translation_server_migration_weblate Reference wiki page: https://wiki.koha-community.org/wiki/Translation_files -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35174 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #159024|0 |1 is obsolete| | --- Comment #7 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 159025 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159025&action=edit Bug 35174: Don't run gulp po commands if po dir is missing Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35174 --- Comment #8 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Pushed to master for 23.11.00 And the following commit as well: git rm -r misc/translator/po git commit -a --author "Koha translators <>" -m"Bug 35174: Remove .po files from Koha" -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35174 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35174 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to master --- Comment #9 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- RMaints, ignore this. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35174 --- Comment #10 from Mason James <mtj@kohaaloha.com> --- Created attachment 159038 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159038&action=edit Bug 35174: update control files for koha-l10n dependency package to test... - apply patch - build koha-common package - install koha-common package, and confirm koha-l10n package is installed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35174 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #11 from Fridolin Somers <fridolin.somers@biblibre.com> --- (In reply to Jonathan Druart from comment #9)
RMaints, ignore this.
OK not backported -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35174 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |CLOSED Resolution|--- |FIXED Version(s)| |23.05.06,22.11.12,22.05.17, released in| |21.11.26 --- Comment #12 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Pushed to all stable releases. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org