Opened 6 years ago

Closed 5 years ago

#9678 closed defect (wontfix)

"Select Language" button on bridges.tpo

Reported by: mrphs Owned by: isis
Priority: Medium Milestone:
Component: Circumvention/BridgeDB Version:
Severity: Keywords: UI, usability, translations, bridgedb
Cc: isis@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Since we're serving this page in many different languages, it would be nice to have a "select language" button somewhere at the top or bottom of the page.
In case a user wants or need to change it manually.

Child Tickets

Change History (5)

comment:1 Changed 6 years ago by isis

Cc: isis@… added
Keywords: translations bridgedb added
Status: newneeds_information

Seems like a good idea to me. Someone should look into this. If I recall correctly, there was a minor complication that BridgeDB was only capable of parsing the first language in the Accept-Language header.

@mrphs: I'm not a UX designer, do you have any recommendations on how it should look? Like, should it be little icons of flags, or just a dropdown list? I hate little flags because it seems nationalistic, but finding the little British flag is usually easier than figuring out how to say "United States" or "Great Britain" in some language I don't speak.

comment:2 Changed 6 years ago by sysrqb

When mrphs and I chatted about this we thought it was a good idea (I think I chatted with aagbsn about this a while ago too). To be honest, I was thinking about adding something as simple as the footer on check.tpo and adding/removing any languages as is necessary. We can certainly make it fancier, but I don't really think it's a high priority to make it pretty. "It will be better than what we have now" :)

Replying to isis:

If I recall correctly, there was a minor complication that BridgeDB was only capable of parsing the first language in the Accept-Language header.

Hm, is this true? Maybe it was true in the past?

comment:3 Changed 5 years ago by isis

You can now add ?lang=ar (or any other locale specifier) to a URL and receive that language. See this comment on #11347 for all the URL parameters and what they do.

You should also be able to send email to bridges+ar@torproject.org and receive a response in Arabic, and the format for the locale strings for that are the same as above. I haven't tested the translation of emails yet.

comment:4 Changed 5 years ago by isis

Owner: set to isis
Status: needs_informationassigned

Email translations done (the strings are fresh in transifex and still need to be translated). See #11753.

comment:5 Changed 5 years ago by isis

Resolution: wontfix
Status: assignedclosed

Making a button in the current system is a tiny bit tricky.

If we wanted little flags for each language, rather than the locale identifiers, it would likely need to be done by hand, or with some rather complicated parameter passing and embedded Mako template functions inside the HTML templates in lib/bridgedb/templates. I'm inclined to say "NO" to this, because I estimate the amount of work required to be quite high for very little usability benefit. If you need a different language, you should be setting that in your browser's settings and BridgeDB will detect it automatically.

I'm not going to implement the button. If someone else wants to do it, great! Reopen this ticket.

Note: See TracTickets for help on using tickets.