Firefox2/L10n Requirements: Difference between revisions

no edit summary
No edit summary
Line 100: Line 100:
=== Search Plugins ===
=== Search Plugins ===


en-US includes search plugins for Google, Yahoo, Amazon.com, Answers.com, Creative Commons, and eBay.
en-US includes search plugins for Google, Yahoo, Amazon.com, Answers.com, Creative Commons, and eBay.  Other locales are welcome to include localized versions of these sites without approval, or file an approval bug to substitute or append other sites.


==== Search Order ====
==== Search Order ====
Line 154: Line 154:
* Add "google" to browser/searchplugins/list.txt
* Add "google" to browser/searchplugins/list.txt
* Modify your region.properties file to set the appropriate search order (see above)
* Modify your region.properties file to set the appropriate search order (see above)
==== Google Search Suggest ====
If you just use the en-US Google plugin as described above, it will automatically use search suggest.  '''No further action is required on your part.'''  For the record, the URL it uses is:
http://suggestqueries.google.com/complete/search?output=firefox&client=firefox&qu={searchTerms}


==== Yahoo! URL ====
==== Yahoo! URL ====
Line 221: Line 227:
|}
|}


==== Amazon URL ====
==== Yahoo Search Suggest ====
 
Amazon.com URLs follow this basic formula:
 
http://%DOMAIN%/exec/obidos/external-search/?field-keywords={searchTerms}&mode=blended&tag=mozilla-20&sourceid=Mozilla-search
 
{| width="100%" cellpadding="3"
|-
| %DOMAIN%                || Select from the table below
|-
| field-keywords=MY+SEARCH || Search term
|-
| mode=blended            || Show results from all parts of the store
|-
| tag=mozilla-20          || Mozilla identifier #1
|-
| sourceid=Mozilla-search  || Mozilla identifier #2
|}
 
If your domain is not listed, then Amazon may not provide a site for your locale.  Most other locales used www.amazon.com in Firefox 1.5:
 
{| cellpadding="3" border="1"
|-
| en-CA || www.amazon.ca
|-
| en-GB || www.amazon.co.uk
|-
| en-US || www.amazon.com
|-
| de || www.amazon.de
|-
| fr || www.amazon.fr
|-
| ja || www.amazon.co.jp
|}
 
=== Quicksearches ===
 
* (P1) Quicksearches should be localized according to the same general guidelines as other bookmarks.
* (P1) Where a Quicksearch refers to a search partner (like Google or Yahoo), use the same URL arguments as above.
* For reference, en-US includes additional Dictionary.com, Stock Symbol, and Wikipedia quicksearches.
 
=== Google Search Suggest ===
 
If you just use the en-US Google plugin as described above, it will automatically use search suggest.  '''No further action is required on your part.'''  For the record, the URL it uses is:
 
http://suggestqueries.google.com/complete/search?output=firefox&client=firefox&qu={searchTerms}
 
=== Yahoo Search Suggest ===


Yahoo appears to use the same search suggest URL for most (but not all) locales.  Japan has a completely different URL.
Yahoo appears to use the same search suggest URL for most (but not all) locales.  Japan has a completely different URL.
Line 325: Line 283:
  <Url type="application/x-suggestions+json" method="GET"
  <Url type="application/x-suggestions+json" method="GET"
     template="http://ff.search.yahoo.com/gossip?output=fxjson&amp;amp;command={searchTerms}" />
     template="http://ff.search.yahoo.com/gossip?output=fxjson&amp;amp;command={searchTerms}" />
==== Amazon URL ====
Amazon.com URLs follow this basic formula:
http://%DOMAIN%/exec/obidos/external-search/?field-keywords={searchTerms}&mode=blended&tag=mozilla-20&sourceid=Mozilla-search
{| width="100%" cellpadding="3"
|-
| %DOMAIN%                || Select from the table below
|-
| field-keywords=MY+SEARCH || Search term
|-
| mode=blended            || Show results from all parts of the store
|-
| tag=mozilla-20          || Mozilla identifier #1
|-
| sourceid=Mozilla-search  || Mozilla identifier #2
|}
If your domain is not listed, then Amazon may not provide a site for your locale.  Most other locales used www.amazon.com in Firefox 1.5:
{| cellpadding="3" border="1"
|-
| en-CA || www.amazon.ca
|-
| en-GB || www.amazon.co.uk
|-
| en-US || www.amazon.com
|-
| de || www.amazon.de
|-
| fr || www.amazon.fr
|-
| ja || www.amazon.co.jp
|}
==== Answers.com URL ====
Answers.com provides an English language dictionary search with the following URL:
http://www.answers.com/main/ntquery?gwp=13&s={searchTerms}
==== Answers.com Search Suggest ====
To enable Answers.com search suggest, add these lines to the answers.xml search plugin, substituting your own URL as appropriate; the "&amp;amp;" is intentional.
<Url type="application/x-suggestions+json" method="GET"
    template="http://www.answers.com/main/startswith?output=json&amp;amp;client=firefox&amp;amp;s={searchTerms}"/>
=== Quicksearches ===
* (P1) Quicksearches should be localized according to the same general guidelines as other bookmarks.
* (P1) Where a Quicksearch refers to a search partner (like Google or Yahoo), use the same URL arguments as above.
* For reference, en-US includes additional Dictionary.com, Stock Symbol, and Wikipedia quicksearches.


=== Start Page ===
=== Start Page ===
64

edits