[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: *.po files: header should contain version number?



Hi Erik,

I think it would make sense to include the version number.

To go further, if possible I think we should expose that version number within the UI somewhere.
This would allow easy verification of what po file version has a translation issue.
In theory it will be the same as the running ledgersmb instance but a site may have a local set of translation files that haven't been updated.

Regards
David G

On 08/03/16 18:46, Erik Huelsmann wrote:
Hi,

In our current PO/FOT files, we have the project name in the header:

msgid ""
msgstr ""
"Project-Id-Version: LedgerSMB\n"
"Report-Msgid-Bugs-To: ..hidden..\n"
"POT-Creation-Date: 2016-03-06 16:28+0000\n"
"PO-Revision-Date: 2016-02-05 08:15+0000\n"


The gettext manual (https://www.gnu.org/software/gettext/manual/html_node/Header-Entry.html) documents that the line

"Project-Id-Version: LedgerSMB\n"

Should actually have been

"Project-Id-Version: LedgerSMB <VERSION>\n"

Since our release process has a high degree of automation, we could actually adjust this quite easily. Do we want to make a change so that we distribute the translations with full version indicator? In that case the line above would become as below for 1.4.26-rc2:

"Project-Id-Version: LedgerSMB 1.4.26-rc2\n"

?

--
Bye,

Erik.

http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval


_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel