[tor-bugs] #9959 [BridgeDB]: BridgeDB seems to be missing English translations
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Oct 14 11:10:51 UTC 2013
#9959: BridgeDB seems to be missing English translations
-------------------------+-------------------------------------------------
Reporter: isis | Owner: isis
Type: defect | Status: needs_review
Priority: blocker | Milestone:
Component: | Version:
BridgeDB | Keywords: bridgedb-ui, bridgedb-translations,
Resolution: | translations, bridgedb-https
Actual Points: | Parent ID:
Points: |
-------------------------+-------------------------------------------------
Comment (by isis):
Replying to [comment:5 aagbsn]:
> Replying to [comment:4 isis]:
> > > > Hrm. I fixed it by creating "untranslated" .po files for `en`,
`en_GB` and `en_US`. Which seems like madness to me, and I can't for the
life of me (I already bisected twice) figure out why BridgeDB all of a
sudden wants translation files for English. But it's working again at
least.
> > >
> > > Well, sounds like that will work. Were translations broken even
after you rolled back to a prior commit and did a clean install?
> > >
> >
> > Yes, which is why I believe that this is a bug or API change in
something else, in Twisted/FF/pybabel/etc.
>
> Ah, but the requirements.txt in bridgedb has all of the versions
specified (see output of pip freeze). Are you using the same versions of
these packages every time?
>
Some of those requirements did not exist according to pip (they were
renamed); others got updates but that was months before this bug appeared.
Probably the most major thing with all the requirements was switching to
the newest setuptools (1.1.x), and fixing everything so that the
databases/scripts/modules could run in a virtualenv. There were a couple
glitches fixing all that up where the setuptools on my dev machine was
1.1.x and then there was a slight bugginess that would manifest in the
virtualenv setuptools being a 0.6.x version...but this should all be
fixed, and both versions are 1.1.x. Other than that I cannot think of
anything, unless it was the RTL patches from #9157 that somehow made
BridgeDB forget that English is the default.
> > >
> > > Hm, how many languages are present in your Accept-Language header?
> >
> > Something around twenty. Is that a problem?
>
> I just wondered if you had the same problem(s) with an off-the-shelf TBB
(en_US, en, iirc).
I also tried with an unmodified TBB; it just failed to render the page.
Sorry, forgot to mention that.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9959#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list