Closed Bug 827651 Opened 11 years ago Closed 11 years ago

Localize Questions list

Categories

(support.mozilla.org :: Questions, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED
2013Q1

People

(Reporter: mythmon, Assigned: mythmon)

References

Details

(Whiteboard: u=contributor c=questions p=2 s=2013.4)

The questions list for contributors should show only questions in the current locale and English. This should be turned on and off per locale, as an opt-in for each community.
Summary: Localize AAQ → Localize Questions list
Priority: -- → P2
Whiteboard: s= p= c=questions u=contributor → u=contributor c=questions p= s=2013.2
Target Milestone: --- → 2013Q1
Pushing this bug to the next sprint.

We think it will be 1-2 pts depending on UI changes required.
Whiteboard: u=contributor c=questions p= s=2013.2 → u=contributor c=questions p= s=2013.3
I'll take this one on.

How were you thinking we should handle the opt-in thing? Is this just a an extra field in the Locale table like opt_in_question_filtering, True / False. Do we need a UI for it?
(In reply to Brian Browning from comment #2)
> I'll take this one on.
> 
> How were you thinking we should handle the opt-in thing? Is this just a an
> extra field in the Locale table like opt_in_question_filtering, True /
> False. Do we need a UI for it?

For now we were thinking just making it a config value in settings.py because they are only thinking of enabling 2-3 locales right now. If it becomes a pain, then we can go with your suggestion in the future (makes sense). Thanks!
Which locales do we want to enable this on to start?
(In reply to Brian Browning from comment #4)
> Which locales do we want to enable this on to start?

Good question! Kadir?

Maybe just enable pt-BR until we get an answer. Thanks!
Flags: needinfo?(a.topal)
Yeah, we are still looking for suitable locales. Rosana is talking to locales and  will make the decision. I'll make sure to note them here.
Flags: needinfo?(a.topal)
Assigning this to Brian since he's working on it.
Assignee: nobody → bwbrowning
Brian: Where are you at with this? If you don't think you're going to be able to get to it in the next week, we need someone to take it from you because we're on the hook for finishing it this sprint.
Hey Will, yea I haven't gotten around to this yet, if you need it next week someone else should take the reigns
Thank you Brian for the update.

I'm re-assigning this to nobody so it's back in the pile for someone to grab since we need to get it done this week.
Assignee: bwbrowning → nobody
Assignee: nobody → michaljev
I didn't realize how much this would depend on AAQ being localized. Without localized AAQ, we don't have localized questions to filters, and since that bug is first in line, it is laying some of the ground. Making that bug block this one.
Depends on: 827650
I'm unassigning this one. It's too late in the sprint, so it's going to need to be done by a non-contributor. Sorry about that.
Assignee: michaljev → nobody
It's ok :)
I don't entirely understand what this bug covers.

What questions list are we talking about? Can I get an example url?

Can a contributor ever see questions not in en-US and his/her locale?
Also, this never got estimated. Oops.
This is about the listing of threads in the support forum:
http://support.mozilla.com/questions

For now we should make that depend on the URL locale:
http://support.mozilla.com/en-US/questions should show English questions
http://support.mozilla.com/pt-BR/questions should show Portuguese questions

This is of course not very clean, since we are not just showing a localization of the same content, but completely different content. So far we've never had that scenario, but we need to figure out if there is a better way. Till then, we should go ahead and implement this.
We didn't get to this in this sprint, pushing it to the next one. 2 pts, because r1cky estimated it as 1-2 in comment 1.
Whiteboard: u=contributor c=questions p= s=2013.3 → u=contributor c=questions p=2 s=2013.4
PR: https://github.com/mozilla/kitsune/pull/1156

While implementing this, I realized that it is unclear how locales that are not opted in to AAQ should view the page. Currently the list is mainly English, with a few non-English outliers. The options I see going forward are 

1) Don't do any filtering on AAQ, which would cause questions to show up in other languages besides English (a change from the current behavior).

2) Filter the question list to only show English questions. This closely matches the current behavior, but seems kind of icky because we are specifically excluding the current locale (even if there probably aren't questions in that locale).

3) Filter the question list to only show questions from English or the current locale. This way avoids the ickiness of specifically removing the current locale, even if there aren't any questions. This might make the transition to localized questions easier in the future somehow?

Kadir, which option should we use? I implemented option #3, but it would be easy to change to the other two.
Flags: needinfo?(a.topal)
Grabbing this, since I already have a PR for it.
Assignee: nobody → mcooper
Kadir: Any thoughts on comment #18?
We talked on IRC and we are going with option 3)
Flags: needinfo?(a.topal)
Deployed this just now, and it looks good.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.