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.
*** Bug 27236 has been marked as a duplicate of this bug. ***
Created attachment 159021 [details] [review] Bug 35174: Do not explode if po dir does not exist Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Created attachment 159022 [details] [review] Bug 35174: Add a warning to the about page Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Created attachment 159023 [details] [review] Bug 35174: Add misc/translator/po to .gitignore Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Created attachment 159024 [details] [review] Bug 35174: Don't run gulp po commands if po dir is missing Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
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
Created attachment 159025 [details] [review] Bug 35174: Don't run gulp po commands if po dir is missing Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
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"
RMaints, ignore this.
Created attachment 159038 [details] [review] 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
(In reply to Jonathan Druart from comment #9) > RMaints, ignore this. OK not backported
Pushed to all stable releases.