diff --git a/CHANGES/8558.bugfix b/CHANGES/8558.bugfix new file mode 100644 index 000000000..052a685dd --- /dev/null +++ b/CHANGES/8558.bugfix @@ -0,0 +1,2 @@ +Fixed the relative paths for translation files, which were causing sync failures and missing translation files. +(Backported from https://pulp.plan.io/issues/8410) diff --git a/pulp_deb/app/tasks/synchronizing.py b/pulp_deb/app/tasks/synchronizing.py index 754f61427..e97856226 100644 --- a/pulp_deb/app/tasks/synchronizing.py +++ b/pulp_deb/app/tasks/synchronizing.py @@ -668,7 +668,7 @@ async def _handle_translation_files(self, release_file, release_component, file_ paths = [path for path in file_references.keys() if path.startswith(translation_dir)] translations = {} for path in paths: - relative_path = os.path.join(os.path.dirname(release_file.relative_path)) + relative_path = os.path.join(os.path.dirname(release_file.relative_path), path) d_artifact = self._to_d_artifact(relative_path, file_references[path]) key, ext = os.path.splitext(relative_path) if key not in translations: