installer should contains latest translations (mo-files)

Bug #162951 reported by Alexander Belchenko
2
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Medium
Alexander Belchenko

Bug Description

QBzr should provide translations in installer (mo-files).
Source code tarball already has PO-translations, so user is able to compile it to MO-format himself.
We need to ensure that release snapshot contains latest version of translations, and provide instruction for user about using command
python setup.py build_mo
for compiling translations.

Related branches

Changed in qbzr:
importance: Undecided → Medium
status: New → Confirmed
description: updated
description: updated
Changed in qbzr:
milestone: none → 0.7.1
assignee: nobody → bialix
Changed in qbzr:
status: Confirmed → In Progress
Revision history for this message
Lukáš Lalinský (luks) wrote :

I have a distutils code for automatic building of NSIS installers including locales. I don't how far are you with implementing this, but we could use the older code.

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 162951] Re: installer should contains latest translations (mo-files)

Lukáš Lalinský пишет:
> I have a distutils code for automatic building of NSIS installers
> including locales. I don't how far are you with implementing this, but
> we could use the older code.

I'm yet not implement anything big. Let's use your older code for start.
Probably it's need a bit tuning. Please, send me example of your code
or just simply commit it to 0.7.1 branch.

Revision history for this message
Lukáš Lalinský (luks) wrote :

I've decided to not use it after all, because it was too dependant another gettext code. So I've added just a simple hack to install locales from both ./setup.py install and the Windows installer. The build_mo command is part of build, so people don't even have to know about it.

Revision history for this message
Alexander Belchenko (bialix) wrote :

I implemented new bdist_nsis command for setup.py to automatize this task.

IMO, it's nice to have special action to copy required qt*.pyd libraries to installer/_ext directory, to make process fully automatic, but it needs some discussion first.

Changed in qbzr:
status: In Progress → Fix Committed
Changed in qbzr:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.