Opened 7 years ago

Closed 7 years ago

#8741 closed defect (fixed)

Transifex does not like the new bridgedb.pot file

Reported by: runa Owned by:
Priority: Medium Milestone:
Component: Circumvention/BridgeDB Version:
Severity: Keywords:
Cc: asn, aagbsn Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

The new bridgedb.pot file has been generated in a different way than previous files. Transifex imports the file, but wrongly displays 100% translated for each language.

I first thought this was an issue with Transifex and reported the issue on github. Jason, one of our support assistants, later emailed me a link to an FAQ suggesting there could be something wrong with the .pot file.

The new file is not much different from an older version, but contains a "Generated-By: Babel 0.9.6\n"-header and lines such as "#, python-format".

How was this file generated? does BridgeDB want files as .po or in some other format?

Child Tickets

Change History (3)

comment:1 Changed 7 years ago by aagbsn

Hm, so oddly, all the translations report 100%, but if you click on:

https://www.transifex.com/projects/p/torproject/resource/2-bridgedb-bridgedb-pot/l/ja/view/

You will see that the strings do not have accompanying translations. Hm.

From the link you put above:

The strings in question have not been marked for translation by the developer, hence they haven't been included in the POT file, and thus not in the PO file. He needs to use gettext on them.

The strings are definitely in the .pot file

The source files of these strings have not been marked for inclusion, in the intltool case.
The POT file of Transifex is not up to date. The component page includes the date when the POT file has been produced. If this is more than a few hours in the past, please notify the admins, otherwise it should be OK.

The date looks OK

The PO file you translated was not msgmerged. In this case Transifex will show a statistic less than 100% (since it auto-merges the files). You need to acquire the file from Tx or msgmerge it with the POT file yourself.

I'm not sure about this.

I'm more inclined to think this is a transifex bug -- see the partially translated chinese resource below, that shows up correctly:

https://www.transifex.com/projects/p/torproject/resource/2-bridgedb-bridgedb-pot/l/zh_CN/view/

comment:2 Changed 7 years ago by Jason

@Transifex said it was a caching issue.

According to support forum (https://getsatisfaction.com/indifex/topics/translation_memory_bug_or_misunderstanding#), I think the issue could be fixed by chaning Access Control setting.

One of transifex developers wrote in reply:

The problem happens because your project is set to Free For All, thus no teams are available. This is somehow messing the creation of the stats for the filled up resource once there is no teams to get languages from.

comment:3 Changed 7 years ago by runa

Resolution: fixed
Status: newclosed

I believe this has now been fixed.

Note: See TracTickets for help on using tickets.