Closed Bug 390141 Opened 17 years ago Closed 15 years ago

Productization for Firefox 3.5.x, Persian (fa)

Categories

(Mozilla Localizations :: fa / Persian, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Pike, Assigned: ehsan.akhgari)

References

(Blocks 1 open bug, )

Details

(Keywords: productization, verified1.9.1)

Attachments

(4 files, 1 obsolete file)

We need to find a good set of search engines and feed readers, and a news feed.

Behnam, any suggestions? The URL should point at some examples what other localizations do.
Thanks Bahram.  This list is the best.

Pike, should we list the default search engines here too?  AFAIK only Google and Wikipedia (from the list of English l10n) have Persian translations.  I think we should put Yahoo, Creative Commons, and others as well, as many Iranians used them already.
Status: NEW → ASSIGNED
Hey Behnam,
I work with Pike particularly on those product elements like search engine, rss, etc in L10n. I think adding the other search engine's is a great idea, especially if users already use them.
Bahram - dito on comment #2 about list, that's great and I'll use that again 
thanks!
mic
Ok, seems like we should get a wikipedia-fa plugin. Behnam, can you create one? Mic, do we have a template yet that we would want to use for fx3? In particular, one that has search suggest?
Whiteboard: needs-mic
Hi
i don't have a template yet, but we need one so thanks for the reminder. Let me check in with the product team to see if they've received anything directly from Wikipedia yet. when I have something I will post it here:
http://wiki.mozilla.org/Firefox3/L10n_Requirements#Wikipedia
thanks
mic
Mic, the opensearch description file of fa.wikipedia says it support search suggestion: http://fa.wikipedia.org/w/opensearch_desc.php

I have it installed, but seems the suggestion doesn't work.
hi
i heard from wikipedia and updated the page listed in comment #5
here's what wikipedia provided for search suggest, LMK if this helps
mic


<Url type="application/x-suggestions+json" method="GET"
template="http://en.wikipedia.org/w/api.php?action=opensearch&amp;search={searchTerms}"/>
Behnam, do you want to include the search suggest URL, too?

Mic, what would we want to do for the feed?

There seems to be a slightly different order in the RSS readers, is that intentional? If so, I'd love to get a patch to actually implement that in this bug for review.
Hi
for feed - we can use Google as Bahram suggests - don't want to be breaking any laws in Iran. Yahoo also offers a feed that I believe is more comprehensive here: http://news.yahoo.com/rss;_ylt=AnuSAhuVmd0eAaSTc08xGXus0NUE
let us know what you want to do but either is OK with me.

for RSS reader order - it should follow the default order - bloglines, myYahoo, google
thanks
Behnam, given what Mic said, I'd like to have a patch for region.properties to set the order of the RSS readers like we do in en-US, then.
AFAIR we don't need to specify the language of google search in url, right?

And about the news feed.  BBC Persian is the best choice of course.  Using it is not breaking any rule, and the RSS just works fine thank to fxfeeds server.  But the news-pages are blocked.  And between Google and Yahoo news, I think to Google one is better, as AFAIK it's more familiar to the Iranian firefox users.
I think using BBC Persian is not the best choice for Persian Firefox, because the majority of the Persian users which are located in Iran would face a page stating that the page they want to navigate to is banned when clicking on any of the news items.

IOW, using BBC Persian effectively limits Persian users to the headlines received from fxfeeds.mozilla.org.  The more scary thing is that it may urge Iranian government to ban the fxfeeds server altogether...
(In reply to comment #12)
> I think using BBC Persian is not the best choice for Persian Firefox, because
> the majority of the Persian users which are located in Iran would face a page
> stating that the page they want to navigate to is banned when clicking on any
> of the news items.

Yes.  I didn't mean it's the best choice for firefox.  Sorry for the miss-understanding. :)

I meant BBC Persian is the best choice for a news feed for Iranian users, as it's BBC and it's Persian.  Google and Yahoo doesn't provide any Persian content.

Now that we have to use one of two others, because the BBC Persian pages are blocked in Iran, I prefer Google News.
(In reply to comment #13)
> Yes.  I didn't mean it's the best choice for firefox.  Sorry for the
> miss-understanding. :)
> 
> I meant BBC Persian is the best choice for a news feed for Iranian users, as
> it's BBC and it's Persian.  Google and Yahoo doesn't provide any Persian
> content.
> 
> Now that we have to use one of two others, because the BBC Persian pages are
> blocked in Iran, I prefer Google News.

There are some websites which provide news feeds in Persian other than BBC.  Would it be an option to use one of them?  For an example, check out http://news.parseek.ir/.
the RSS news feed is there to demonstrate the feature to users so they can make their own choices for that feature (although most don't change the defaults we provide). 
We chose the BBC as a default in en-US because it provided the most comprehensive non politically biased world wide news reporting in English. 
In locales we want to make choices based on similar concepts and in the language of the locale. I can't read this site so I need to rely on your judgement based on these ideas. What do you think relative to the first option discussed i.e., Google?
thanks
mic
ping?
Sorry for the delay.

I think http://news.parseek.com/rss/ is good enough.  Though I don't use it myself, but it seems good.  We can update it later if needed, right?
Axel - can we update later? not sure if this needs to be done for major release only?
Behnam - on parseek - is it a general news provider? 
also fyi - we recently created some guidelines to help in making these recommendations: http://wiki.mozilla.org/Firefox_web_services_guidelines
(In reply to comment #18)
> Behnam - on parseek - is it a general news provider?

Yes, in fact it a general aggregator of famous local news agencies.  Here are the list of its categories (it's in Persian, but you can see the value of TYPE in the URL):
http://www.parseek.ir/about/NewsRssFeeds.aspx

BTW, shouldn't I contact the site admin?

> also fyi - we recently created some guidelines to help in making these
> recommendations: http://wiki.mozilla.org/Firefox_web_services_guidelines

That's really helpful.  Thanks.
Behnam - yes please contact the site admin and forward his response to me by email (mic@mozilla.com). If they speaks English I can contact them directly as well, if you send me an email address. We need their permission to include their feed as a default in Firefox. Effectively we want to ensure they can and want to handle our traffic.

Thanks on the guidelines - that's great - given what you've read are there any other search engine's you would suggest would be more impactful for Iranian users especially in the commerce or special interest search categories?

Is the current list for Persian:
Google
Wikipedia
or did you include any other defaults?
for RSS live bookmark we will use news.parseek.com/firefox. This will be a special feed designed by Parseek to incorporate news from various regions that serve Persian language e.g., iran, Afghanistan, Tajikistan, etc. The reason for the change in part is that BBC is banned in Iran, so Parseek is the best alternative for comprehensive coverage that is still well used by Persian users.

Permission received by email, 	"Alireza Shirazi" <shirazi@gmail.com>, Jan 14, 2008:
Alireza is the manager of Parseek.com.  He generally approved
our request.  He says there's no problem with bandwidth, and about the
HTML/CSS of the site, they can improve the current one, or make a
separate interface for firefox usage.  Thanks again Alireza
summarizing:
current list of search plugins is default without eBay as it doesn't work in Iran (according to Behnam). Amazon does not ship to Iran but is good for looking up books, products etc.
current list of RSS readers is default
LB: parseek
mailto: defaults
calendar: defaults

exploring adding:  http://www.farsilookup.com/ or http://www.mibosearch.com/
farsilookup is a dictionary and reference look up site. searches english to persian etc and also provides poetic references for same
mibo searches two dictionaries in Persian
And another option for dictionary is http://dic.ir/ .
Mass edit of the QA Contact --> <persian.fa@localization.bugs>
QA Contact: nobody → persian.fa
permission received from farsilookup.com


---------- Forwarded message ----------
From: Afshin Khashei <khashei@gmail.com>
Date: 2008/2/14
Subject: Re: farsilookup.com
To: Behnam ZWNJ Esfahbod <behnam@mozilla.ir>


Hi Behnam,
That's a wonderful news! we can talk about that in detail...
Whiteboard: needs-mic → needs-mic, needs-patch
(In reply to comment #21)
> for RSS live bookmark we will use news.parseek.com/firefox.

I guess they haven't made that page yet.  <http://news.parseek.com/firefox> --> HTTP error 404 - not found.

Behnam: can you contact parseek.com in this regard?  Thanks!

We also need permissions from www.dic.ir and www.mibosearch.com as well.
(In reply to comment #26)
> I guess they haven't made that page yet.  <http://news.parseek.com/firefox> -->
> HTTP error 404 - not found.
> 
> Behnam: can you contact parseek.com in this regard?  Thanks!

I'm gonna contact them right now.


> We also need permissions from www.dic.ir and www.mibosearch.com as well.

No, we decided to use farsilookup.com. (they are going to change the domain, logo, etc) as it was the best choice.

But that would be a good help if someone help them to add OpenSearch to their sites...
> But that would be a good help if someone help them to add OpenSearch to their
> sites...

Creating OpenSearch plugins is easy.  How can I help them with that?
(In reply to comment #28)
> > But that would be a good help if someone help them to add OpenSearch to their
> > sites...
> 
> Creating OpenSearch plugins is easy.  How can I help them with that?

Creating plugins would be good too, but I meant to have the spec on their site, so users can add them directly from their sites.  I think we can do these later, but it's good to open a bug for this generic enhancements for Persian users.
(In reply to comment #29)
> (In reply to comment #28)
> > > But that would be a good help if someone help them to add OpenSearch to their
> > > sites...
> > 
> > Creating OpenSearch plugins is easy.  How can I help them with that?
> 
> Creating plugins would be good too, but I meant to have the spec on their site,
> so users can add them directly from their sites.  I think we can do these
> later, but it's good to open a bug for this generic enhancements for Persian
> users.

OK, I'm lost here.  We decided to ship farsilookup.com as a search plugin, right?  So, even if we enable OpenSearch on their website, Persian Firefox users don't need to re-add the same search engine again.  Right?

Anyway, I'm ready to help them to add the OpenSearch spec to their site.  Please let me know who I should contact in this regard.

I'm not sure what the bug you suggest should cover though.
(In reply to comment #30)
> OK, I'm lost here.  We decided to ship farsilookup.com as a search plugin,
> right?  So, even if we enable OpenSearch on their website, Persian Firefox
> users don't need to re-add the same search engine again.  Right?

Yes.  I didn't mean farsilookup there.  I meant the two you mentioned.

> Anyway, I'm ready to help them to add the OpenSearch spec to their site. 
> Please let me know who I should contact in this regard.
> 
> I'm not sure what the bug you suggest should cover though.

Thanks Ehsan.  I'm gonna take care of parseek.com and farsilookup.com issues.  But here are the bug for other sites we listed here, bud have not selected as the primary one: Bug 417768 – Get OpenSearch spes on Persian sites.
What we need here is a patch to add search plugins to l10n/fa/browser/searchplugins.

For one, we need to remove ebay from list.txt. Reading though this bug, we want to add wikipedia-fa, and farsilookup? We'd need MozSearch plugins for those, the best template for wikipedia would be http://mxr.mozilla.org/mozilla/source/browser/locales/en-US/searchplugins/wikipedia.xml. Please make sure that the ShortName matches the title in the rel="search" link on fa.wikipedia.org, namely, "ویکی‌پدیا (fa)".
Comment on attachment 282414 [details]
wikipedia search-engine, with utf-8 url and param value, without suggestion

These are easier to review if you create a patch for this. Per previous comment, this is an r- on this one.
Attachment #282414 - Flags: review-
Comment on attachment 288985 [details] [diff] [review]
fix the order of feed-readers in region.properties

r- on this patch, the order of the handlers is not determined by the order in the file, but by the numbers.
Attachment #288985 - Flags: review-
Behnam can you confirm the final list then:
summarizing:
search plugins is default without eBay + farsilookup
current list of RSS readers is default
LB: parseek
mailto: defaults
calendar: defaults
Whiteboard: needs-mic, needs-patch → needs-patch
ping? then we can close this bug
it seems we may not have wikipedia added yet. please add wikipedia-fa if possible or take wikipedia-en from en-us if fa is too difficult
some additional information about how to add wikipedia 

Search is all (*) in browser/searchplugins. Task: Replace en.wikipedia.org with
fa.wikipedia.org. So, first, we need a plugin for the latter, for which a good
name will be wikipedia-fa.org. You should create this by following what we do
for en-US closely, that one is at
http://mxr.mozilla.org/mozilla/source/browser/locales/en-US/searchplugins/wikipedia.xml.
Use that as a template, and change the Urls accordingly, and use the link title of the rel="search" link on your wikipedia site as ShortName. That matches what the site sends, so Firefox will detect that it already has the search plugin.
So, now you have the plugin in fa/browser/searchplugins/wikipedia-fa.xml, and
to get it picked up, you replace the wikipedia with wikipedia-fa in list.txt.

To create the patch, do, in browser/searchplugins
cvs add wikipedia-fa.xml
cvs -z3 diff -uN

and attach the output here, and mark it as patch, there's a checkbox for that.
To request review on that, set the "Review" flag to '?', and the requestee to
my bugzilla ID.

(*) The search ordering stuff is in region.properties, too, but that's changed
rarely.
Attached patch Patch for Persian Wikipedia search plugin (obsolete) (deleted) — Splinter Review
Here's the patch for Persian Wikipedia, as described in comment 38.  What else needs to be done here?
Attachment #322292 - Flags: review?(mic)
Whiteboard: needs-patch → [has patch][needs status update]
(In reply to comment #35)
> Behnam can you confirm the final list then:
> summarizing:
> search plugins is default without eBay + farsilookup

Yes.  I just sent an email to Afshin and asked for final domain name and url.  I will update it here soon.

> current list of RSS readers is default
> LB: parseek

I need to check the rss url here too.

> mailto: defaults
> calendar: defaults

Correct.
Comment on attachment 322292 [details] [diff] [review]
Patch for Persian Wikipedia search plugin

r=me with nits, you still need to add "wikipedia-fa" to list.txt, can I get a new patch for that.

Sorry for the copy'n'paste problem in comment 38, "my bugzilla ID" should read "l10n@mozilla.com", as that comment was originally from me in another bug.
Attachment #322292 - Flags: review?(mic) → review-
> > current list of RSS readers is default
> > LB: parseek
> 
> I need to check the rss url here too.

Ok, we can use http://news.parseek.com/rss/ .  I keep talking to site maintainers to make better RSS support (html header alternate definitions, etc).

Also we can use http://news.parseek.com/ as the livebookmark's original site.
The feed validator is grumpy, http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fnews.parseek.com%2Frss%2F. Could we evangelize to get these fixed? It likely breaks the feed sniffing code in Firefox 3.

Guess it's about time to fork the feed into a separate bug.
Assignee: bugs+behnam → ehsan.akhgari
Attachment #322292 - Attachment is obsolete: true
Attachment #322637 - Flags: review?(l10n)
Comment on attachment 322637 [details] [diff] [review]
Patch for Persian Wikipedia search plugin (checked in)

r=me, please land this with a check-in comment referencing this bug and my approval, something like "bug 390141, add fa.wikipedia.org to search engines, r=l10n@mozilla.com" would do.
Attachment #322637 - Flags: review?(l10n) → review+
Depends on: 435870
(In reply to comment #43)
> Guess it's about time to fork the feed into a separate bug.

Filed bug 435870.
(In reply to comment #45)
> (From update of attachment 322637 [details] [diff] [review])
> r=me, please land this with a check-in comment referencing this bug and my
> approval, something like "bug 390141, add fa.wikipedia.org to search engines,
> r=l10n@mozilla.com" would do.

Behnam, can you land this?  My CVS account is not yet activated... :-/

Axel, can we close this bug with this patch landed?
Keywords: checkin-needed
Whiteboard: [has patch][needs status update] → [needs status update]
Thanks Ehsan, Persian Wikipedia patch landed.  Should we wait for news feed deciding as well?

Checking in browser/searchplugins/list.txt;
/l10n/l10n/fa/browser/searchplugins/list.txt,v  <--  list.txt
new revision: 1.2; previous revision: 1.1

Checking in browser/searchplugins/wikipedia-fa.xml;
/l10n/l10n/fa/browser/searchplugins/wikipedia-fa.xml,v  <--  wikipedia-fa.xml
initial revision: 1.1
Keywords: checkin-needed
No longer depends on: 435870
Attachment #322637 - Attachment description: Patch for Persian Wikipedia search plugin → Patch for Persian Wikipedia search plugin (checked in)
we can track news feed changes in a separate bug
it looks like we might be able to close this bug now, Axel?
Whiteboard: [needs status update] → needs-pike
(In reply to comment #49)
> we can track news feed changes in a separate bug

The news feed was chosen in bug 435870 (http://news.parseek.com/rss/), but <http://fa.fxfeeds.mozilla.com/fa/firefox/headlines.xml> still redirects the the default BBC news feed.  Do we need to file a new bug in order to fix this redirect?

> it looks like we might be able to close this bug now, Axel?

Behnam, any word from FarsiLookup.com yet?  If they can't provide us with a search URL and a favicon (and also preferrably a search suggestion feature), maybe we should look into alternatives.

One such alternative is AiraDic, which provides Arabic, English, French, German, Italian, Spanish and Swedish dictionaries.  From a quick look at their website, their service seems great.  But they also don't provide a search suggestion feature which is usable for OpenSearch plugins.
Attachment #368503 - Flags: review?(l10n)
Summary: Productization for Firefox 2.0.0.x, Persian (fa) → Productization for Firefox 3.5.x, Persian (fa)
Attachment #368503 - Flags: review?(l10n) → review?(stas)
Comment on attachment 368503 [details] [diff] [review]
Remove eBay from the list of search plugins

Stas is handling these review requests now.
Blocks: fx35-l10n-fa
Whiteboard: needs-pike → needs-stas
stas: ping?

behnam: ping?
Comment on attachment 368503 [details] [diff] [review]
Remove eBay from the list of search plugins

Sorry for the delay in reviewing this one. 

r=me. Please land this patch on both branches using a descriptive check-in comment, mentioning the bug number and my review (e.g. " Bug 390141: Remove eBay's search plug-in, r=stas").

Please use fixed1.9.1 and verified1.9.1 keywords in this bug to track landing and verification on the 1.9.1 branch.
Attachment #368503 - Flags: review?(stas) → review+
Thanks for the review, Staś.

Landed on l10n-central and l10n-mozilla-1.9.1.

http://hg.mozilla.org/l10n-central/fa/rev/b99b9f47d8e4
http://hg.mozilla.org/releases/l10n-mozilla-1.9.1/fa/rev/37a7b12367c2
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: fixed1.9.1
Resolution: --- → FIXED
Whiteboard: needs-stas
Tested this both on a 3.5b5pre and 3.6a1pre nightly, marking verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: