Fix packaging of translated content

Bug #1169467 reported by Daniel Holbach
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Advocacy Kit

Bug Description

Packaging of UAK translations is currently broken. We need to fix it:

daniel@daydream:~/bzr/uak$ ./debian/scripts/add-languages
es.po (21%), NOT adding.
ms.po (4%), NOT adding.
el.po (30%), NOT adding.
sr.po (0%), NOT adding.
en_CA.po (0%), NOT adding.
my.po (16%), NOT adding.
az.po (6%), NOT adding.
de.po (0%), NOT adding.
or.po (0%), NOT adding.
bg.po (17%), NOT adding.
tr.po (0%), NOT adding.
zh_CN.po (0%), NOT adding.
cs.po (85%), adding.
ru.po (88%), adding.
he.po (1%), NOT adding.
fr.po (95%), adding.
lv.po (2%), NOT adding.
pt_BR.po (17%), NOT adding.
en_GB.po (6%), NOT adding.
Traceback (most recent call last):
  File "./debian/scripts/add-languages", line 238, in <module>
  File "./debian/scripts/add-languages", line 234, in main
  File "./debian/scripts/add-languages", line 226, in add_package
    self.add_installation_files(language, base_template)
  File "./debian/scripts/add-languages", line 157, in add_installation_files
    self.write_docs_file(template_file, new_file, doc_type, language)
  File "./debian/scripts/add-languages", line 160, in write_docs_file
    with open(template_file, "r") as template_file:
IOError: [Errno 2] No such file or directory: u'./debian/scripts/../../debian/'

Tags: build
Changed in uak:
importance: Undecided → High
status: New → Triaged
Changed in uak:
assignee: nobody → Daniel Holbach (dholbach)
Revision history for this message
Daniel Holbach (dholbach) wrote :

In lp:~dholbach/uak/1169467 you can find some preliminary work to get this fixed, there's still work to be done though.

It might be worth figuring out if we should have a uak-common package in which we put all the material which is common to all the language packages.

Changed in uak:
assignee: Daniel Holbach (dholbach) → nobody
tags: added: build
Revision history for this message
Pierre Slamich (pierre-slamich) wrote :

We just completed the French translation and would be keen to be able to test and publish it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers