Translation migration

From Gramps
Jump to: navigation, search

This is an experimental page by looking at a simple way for a proper migration on translation strings.

Current status on master

  • Translations based on old templates:
all translation files have been merged with the template generated on 2015-06-01
  • Translation revisions:
ar.po:"PO-Revision-Date: 2014-06-29 15:50+0300\n"
bg.po:"PO-Revision-Date: 2010-03-23 22:00+0200\n"
br.po:"PO-Revision-Date: 2013-10-25 11:25+0100\n"
ca.po:"PO-Revision-Date: 2013-11-24 18:11+0100\n"
cs.po:"PO-Revision-Date: 2015-04-17 08:39+0100\n"
da.po:"PO-Revision-Date: 2013-05-16 14:50+0200\n"
de.po:"PO-Revision-Date: 2015-05-31 17:34+0200\n"
el.po:"PO-Revision-Date: 2013-05-15 12:30+0200\n"
en_GB.po:"PO-Revision-Date: 2012-05-10 21:26+0100\n"
eo.po:"PO-Revision-Date: 2014-10-20 20:13+0200\n"
es.po:"PO-Revision-Date: 2014-04-20 11:10+0100\n"
fi.po:"PO-Revision-Date: 2015-05-30 11:03+0200\n"
fr.po:"PO-Revision-Date: 2015-06-01 16:25+0100\n"
ga.po:"PO-Revision-Date: 2011-01-08 13:36+0000\n"
he.po:"PO-Revision-Date: 2014-03-24 20:15+0300\n"
hr.po:"PO-Revision-Date: 2013-05-17 17:58+0100\n"
hu.po:"PO-Revision-Date: 2015-03-29 18:00+0200\n"
is.po:"PO-Revision-Date: 2015-03-11 21:04+0000\n"
it.po:"PO-Revision-Date: 2014-09-28 02:52+0200\n"
ja.po:"PO-Revision-Date: 2011-08-13 23:35+0900\n"
lt.po:"PO-Revision-Date: 2014-02-06 01:50+0300\n"
mk.po:"PO-Revision-Date: 2008-11-29 14:24+0100\n"
nb.po:"PO-Revision-Date: 2015-01-08 21:23+0100\n"
nl.po:"PO-Revision-Date: 2015-03-25 21:56+0100\n"
nn.po:"PO-Revision-Date: 2012-12-07 18:28+0100\n"
pl.po:"PO-Revision-Date: 2014-01-30 10:26+0100\n"
pt_BR.po:"PO-Revision-Date: 2014-03-23 11:36-0300\n"
pt_PT.po:"PO-Revision-Date: 2013-03-03 10:02+0100\n"
ro.po:"PO-Revision-Date: 2003-03-03 09:54+0100\n"
ru.po:"PO-Revision-Date: 2014-03-19 15:31+0200\n"
sk.po:"PO-Revision-Date: 2014-05-23 15:34+0100\n"
sl.po:"PO-Revision-Date: 2015-05-26 21:55+0200\n"
sq.po:"PO-Revision-Date: 2008-11-13 21:00+0100\n"
sr.po:"PO-Revision-Date: 2014-10-21 23:12+0200\n"
sr_Latn.po:"PO-Revision-Date: 2008-09-08 20:44+0200\n"
sv.po:"PO-Revision-Date: 2014-05-21 18:53+0200\n"
tr.po:"PO-Revision-Date: 2014-10-26 21:58+0200\n"
uk.po:"PO-Revision-Date: 2014-12-21 15:24+0300\n"
vi.po:"PO-Revision-Date: 2012-02-29 23:03+0700\n"
zh_CN.po:"PO-Revision-Date: 2015-03-18 17:31-0600\n"
zh_HK.po:"PO-Revision-Date: 2015-03-18 17:31-0600\n"
zh_TW.po:"PO-Revision-Date: 2015-03-18 17:31-0600\n"

Current status on gramps41

  • Translation revisions:
ar.po:"PO-Revision-Date: 2014-06-29 15:50+0300\n"
bg.po:"PO-Revision-Date: 2010-03-23 22:00+0200\n"
br.po:"PO-Revision-Date: 2013-10-25 11:25+0100\n"
ca.po:"PO-Revision-Date: 2013-11-24 18:11+0100\n"
cs.po:"PO-Revision-Date: 2015-03-13 17:30+0100\n"
da.po:"PO-Revision-Date: 2013-05-16 14:50+0200\n"
de.po:"PO-Revision-Date: 2015-05-17 10:22+0200\n"
el.po:"PO-Revision-Date: 2013-05-15 12:30+0200\n"
en_GB.po:"PO-Revision-Date: 2012-05-10 21:26+0100\n"
eo.po:"PO-Revision-Date: 2014-11-08 13:21+0100\n"
es.po:"PO-Revision-Date: 2014-04-20 11:10+0100\n"
fi.po:"PO-Revision-Date: 2015-05-01 17:14+0200\n"
fr.po:"PO-Revision-Date: 2015-04-29 10:46+0100\n"
ga.po:"PO-Revision-Date: 2011-01-08 13:36+0000\n"
he.po:"PO-Revision-Date: 2014-03-24 20:15+0300\n"
hr.po:"PO-Revision-Date: 2014-11-23 16:59+0100\n"
hu.po:"PO-Revision-Date: 2015-02-20 17:37+0100\n"
is.po:"PO-Revision-Date: 2015-03-11 21:04+0000\n"
it.po:"PO-Revision-Date: 2014-09-28 02:52+0200\n"
ja.po:"PO-Revision-Date: 2011-08-13 23:35+0900\n"
lt.po:"PO-Revision-Date: 2014-02-06 01:50+0300\n"
mk.po:"PO-Revision-Date: 2008-11-29 14:24+0100\n"
nb.po:"PO-Revision-Date: 2015-01-08 21:23+0100\n"
nl.po:"PO-Revision-Date: 2013-10-20 12:42+0100\n"
nn.po:"PO-Revision-Date: 2014-12-22 21:26+0100\n"
pl.po:"PO-Revision-Date: 2014-06-04 01:28+0100\n"
pt_BR.po:"PO-Revision-Date: 2014-03-23 11:36-0300\n"
pt_PT.po:"PO-Revision-Date: 2013-03-03 10:02+0100\n"
ro.po:"PO-Revision-Date: 2003-03-03 09:54+0100\n"
ru.po:"PO-Revision-Date: 2014-03-19 15:31+0200\n"
sk.po:"PO-Revision-Date: 2014-05-23 15:34+0100\n"
sl.po:"PO-Revision-Date: 2011-09-07 00:25+0200\n"
sq.po:"PO-Revision-Date: 2008-11-13 21:00+0100\n"
sr.po:"PO-Revision-Date: 2014-10-21 23:12+0200\n"
sr_Latn.po:"PO-Revision-Date: 2008-09-08 20:44+0200\n"
sv.po:"PO-Revision-Date: 2015-01-06 18:29+0100\n"
tr.po:"PO-Revision-Date: 2014-10-26 21:58+0200\n"
uk.po:"PO-Revision-Date: 2014-12-21 15:24+0300\n"
vi.po:"PO-Revision-Date: 2012-02-29 23:03+0700\n"
zh_CN.po:"PO-Revision-Date: 2015-02-26 15:08-0700\n"

Next step?

  1. merge translations with the last template should not be too intrusive. We re-use strings with the last model.
  2. merge strings between two branches means to know what should be the main branch for this translation file.
  3. diff works fine once you "order by msgid" and ignore comments

eg, like:

msgfmt en_GB.po -o order.mo
msgunfmt order.mo -o en_GB_order.po

Having such {dict} will make actions on translation files more simplier.

Where?

--- master	2015-06-01 16:40:02.946423126 +0200
+++ 41	2015-06-01 16:40:36.706424487 +0200
@@ -2,41 +2,39 @@
bg.po:"PO-Revision-Date: 2010-03-23 22:00+0200\n"
br.po:"PO-Revision-Date: 2013-10-25 11:25+0100\n"
ca.po:"PO-Revision-Date: 2013-11-24 18:11+0100\n"
-cs.po:"PO-Revision-Date: 2015-04-17 08:39+0100\n"
+cs.po:"PO-Revision-Date: 2015-03-13 17:30+0100\n"
da.po:"PO-Revision-Date: 2013-05-16 14:50+0200\n"
-de.po:"PO-Revision-Date: 2015-05-31 17:34+0200\n"
+de.po:"PO-Revision-Date: 2015-05-17 10:22+0200\n"
el.po:"PO-Revision-Date: 2013-05-15 12:30+0200\n"
en_GB.po:"PO-Revision-Date: 2012-05-10 21:26+0100\n"
-eo.po:"PO-Revision-Date: 2014-10-20 20:13+0200\n"
+eo.po:"PO-Revision-Date: 2014-11-08 13:21+0100\n"
es.po:"PO-Revision-Date: 2014-04-20 11:10+0100\n"
-fi.po:"PO-Revision-Date: 2015-05-30 11:03+0200\n"
-fr.po:"PO-Revision-Date: 2015-06-01 16:25+0100\n"
+fi.po:"PO-Revision-Date: 2015-05-01 17:14+0200\n"
+fr.po:"PO-Revision-Date: 2015-04-29 10:46+0100\n"
ga.po:"PO-Revision-Date: 2011-01-08 13:36+0000\n"
he.po:"PO-Revision-Date: 2014-03-24 20:15+0300\n"
-hr.po:"PO-Revision-Date: 2013-05-17 17:58+0100\n"
-hu.po:"PO-Revision-Date: 2015-03-29 18:00+0200\n"
+hr.po:"PO-Revision-Date: 2014-11-23 16:59+0100\n"
+hu.po:"PO-Revision-Date: 2015-02-20 17:37+0100\n"
is.po:"PO-Revision-Date: 2015-03-11 21:04+0000\n"
it.po:"PO-Revision-Date: 2014-09-28 02:52+0200\n"
ja.po:"PO-Revision-Date: 2011-08-13 23:35+0900\n"
lt.po:"PO-Revision-Date: 2014-02-06 01:50+0300\n"
mk.po:"PO-Revision-Date: 2008-11-29 14:24+0100\n"
nb.po:"PO-Revision-Date: 2015-01-08 21:23+0100\n"
-nl.po:"PO-Revision-Date: 2015-03-25 21:56+0100\n"
-nn.po:"PO-Revision-Date: 2012-12-07 18:28+0100\n"
-pl.po:"PO-Revision-Date: 2014-01-30 10:26+0100\n"
+nl.po:"PO-Revision-Date: 2013-10-20 12:42+0100\n"
+nn.po:"PO-Revision-Date: 2014-12-22 21:26+0100\n"
+pl.po:"PO-Revision-Date: 2014-06-04 01:28+0100\n"
pt_BR.po:"PO-Revision-Date: 2014-03-23 11:36-0300\n"
pt_PT.po:"PO-Revision-Date: 2013-03-03 10:02+0100\n"
ro.po:"PO-Revision-Date: 2003-03-03 09:54+0100\n"
ru.po:"PO-Revision-Date: 2014-03-19 15:31+0200\n"
sk.po:"PO-Revision-Date: 2014-05-23 15:34+0100\n"
-sl.po:"PO-Revision-Date: 2015-05-26 21:55+0200\n"
+sl.po:"PO-Revision-Date: 2011-09-07 00:25+0200\n"
sq.po:"PO-Revision-Date: 2008-11-13 21:00+0100\n"
sr.po:"PO-Revision-Date: 2014-10-21 23:12+0200\n"
sr_Latn.po:"PO-Revision-Date: 2008-09-08 20:44+0200\n"
-sv.po:"PO-Revision-Date: 2014-05-21 18:53+0200\n"
+sv.po:"PO-Revision-Date: 2015-01-06 18:29+0100\n"
tr.po:"PO-Revision-Date: 2014-10-26 21:58+0200\n"
uk.po:"PO-Revision-Date: 2014-12-21 15:24+0300\n"
vi.po:"PO-Revision-Date: 2012-02-29 23:03+0700\n"
-zh_CN.po:"PO-Revision-Date: 2015-03-18 17:31-0600\n"
-zh_HK.po:"PO-Revision-Date: 2015-03-18 17:31-0600\n"
-zh_TW.po:"PO-Revision-Date: 2015-03-18 17:31-0600\n"
+zh_CN.po:"PO-Revision-Date: 2015-02-26 15:08-0700\n"

Gramps41

eo, hr, nn, pl, sv