Closed Bug 521997 Opened 11 years ago Closed 11 years ago

[ja] Choose search plug-ins for Fennec in Japanese


(Mozilla Localizations :: ja / Japanese, defect)

Not set


(Not tracked)



(Reporter: stas, Assigned: mozilla758+bmo)



(Keywords: productization, Whiteboard: [bootstrapped][twitter-ja][][])


(3 files, 1 obsolete file)

You've indicated an interest in participating in the localization of mobile Firefox (aka Fennec). We want to ship Fennec with a good list of search engines for Japanese. As the technical details of implementation are being worked on, we'd like to start the discussion about the choice of search engines. This bug is about agreeing on a set of search engines, and will not tackle the implementation (at least not yet).

First, the localization team and Staś will look at the market for the locale and come up with a good set of search providers. The guidelines for making recommendations are on You're welcome to suggest engines already shipped in desktop Firefox for Japanese, if they fit well in the categories outlined on the wiki.

For en-US, we currently use the following set, which may serve as an inspiration:
Google, Wikipedia, Amazon, Yahoo, Twitter.

Note that according to the guidelines, for some categories it may be better to leave them empty than to ship with en engine that's irrelevant or unavailable in your region.

After we decided on a particular search engine, we will need to test it in Fennec. You can test on a mobile device and on the desktop (download the builds from <>). Staś will help with testing on a device, too. If the service works fine, Staś will contact the owner and ask for permission, and for specifics like proper search flags. $name, we'll likely need your help to at least get the contact information if we don't have them already.

We don't know the implementation details yet, so for now, please don't create patches nor land anything. We will keep you posted as we figure out the how's and when's.

Hi Guys:  Just a friendly reminder, as we move closer to the general availability date for Fennec in mid-December, has your team had any chance to consider search providers?  Thanks!
Here's a patch resetting the mobile/searchplugins/ directory to a minimal set of search engines that we would like to ship your locale with. Please read this comment carefully before you land this patch.

*Important*: There has been a change to how we use the  <Description/> elements present in the plug-ins (see bug 528655 and bug 529869). We want to emphasize that the search is integrated with the browser to better reflect what a search plugin is and what it does. You will need to edit the Wikipedia plug-in before you commit this patch. Please read <> for detailed instructions.

For Google and Twitter, we don't have to copy the XML files to your mobile/searchplugins/ directory. Plugins identical to en-US are pulled from source automatically. It's enough to put the engine's name in list.txt for this to work (which I did). I also updated the Wikipedia plug-in to use a bigger icon, see bug 517997 for details.

Please edit the Wikipedia plug-in and commit this patch before you opt-in in the newsgroup. Opt-ins without this patch will not be taken. This does not mean that we don't want to include other search engines. On the contrary, the work and the discussion will continue in this bug until we choose a good set of search engines for your locale. Then, you will be able to opt in again, so that in the final release we include more search engines than the mineral set from this patch.

This patch is simply meant to reset your mobile/searchplugins directory so that we keep the repository clean and happy.

Thanks for understanding!
We Japanese team are now planning to use following 5 search engines:
Google,, Wikipedia, Twitter, Yahoo! Japan
# same service list as en-US

But some of these are still under discussion. We'll decide soon.
Main discussion are:

 - Wikipedia OR Goo Dictionary (for reference search)
Japanese Wikipedia isn't unfortunately as good as English one and we have another commonly used dictionary in Japan, Goo Dictionary.
Maybe Goo Dictionary is better for Japanese users.

 - Twitter OR Mapion (for social or local search)
Mobile smartphone users group are similar to the user group of Twitter but Japanese Twitter users are not so common as English one. Mapion provides good local search (much better than car navigation system in US ;) feature with geolocation service.
But unfortunately search plugin don't have ability to give current user geolocation as parameter and users need to press "get current location" button to find nearby restaurant/shop etc. Even if search plugin can provide geolocation as parameter, we need to confirm with users about sending the location date.

We also have other options but maybe we'll select from these services.
We decided to use
Google,, Wikipedia, Twitter, Yahoo! Japan
as a default search engine list.

This is finally same list as en-US.
Seth, can we use this list for ja/ja-JP-mac Fennec?
This is the patch for our search plugins list.

 - Parameters for! JAPAN are same with desktop Firefox.
 - Description is translated for ja.
 - Use default global google search-plugin (as we'll do in bug 508793).
 - Use default global twitter search-plugin in this patch.
Attachment #415105 - Flags: review?(stas)
As we talked in IRC, we request to use lang=ja parameter for Twitter search and this is the plug-in.
# of course we'll change list.txt's "twitter" to "twitter-jp" at the same time

We need to specify language within the plug-ins since Japanese users really hate English shown in browser. Even if users can select Japanese search results with drop-down list to select language in Twitter search result page, most beginner users will not find and not want to select by hand with small screen.

Using Japanese only result is our consistent policy in Japanese Firefox as we use not etc.

note: we cannot use <Param name="lang" value="{moz:locale}"/> since twitter expect en, ja etc, not en-US, ja-JP-mac etc.
Attachment #415106 - Flags: review?(stas)
Comment on attachment 415105 [details] [diff] [review]
patch for our list (diff from minimized list) without custom twitteer plugin

Thanks Dynamis for the patch. I have 3 comments:

>Index: ja/mobile/searchplugins/yahoo-jp.xml
>--- ja/mobile/searchplugins/yahoo-jp.xml	(ãªãã¸ã§ã³ 0)
>+++ ja/mobile/searchplugins/yahoo-jp.xml	(ãªãã¸ã§ã³ 0)

>+<Image width="16" height="16">data:image/x-icon;base64,R0lGODlhEAAQAJECAP8AAAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIplI+py+0NogQuyBDEnEd2kHkfFWUamEzmpZSfmaIHPHrRguUm/fT+UwAAOw==</Image>

Please use a larger icon from

>Index: ja/mobile/searchplugins/amazon-jp.xml
>+<Image width="16" height="16">data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsQAAALEAGtI711AAAAB3RJTUUH0wESEi0MqTATXwAAAjVJREFUeJyFUlGLElEU/mbVHd2aaaRgWGyJgmXRINiXfJCeRgaiLEiKgYXoRQrqRejNH7D1uNBDPvbWtGxvS64IG2IIQQhxScpYMpt1l1qdptVVZ+z2oM6qu9KBC4dzv/Od73z3AmPROmjeVlWVKopCRVGkHMdRURSpoig0lUrRcfxI6LoelWV5GwCddOLx+PEklmVej0QiI80Oh4OyLHuE5Fgl/aJ9gsEgzefzm4SQzVgs9n8VqqqO7EwIsUGEkEscx9kEsizbd85BEo3eenzzRkRstTsfAVwRBOH+EP/DSb4x4wVN0wq5XE7MZDKz5XIZlUoFtVoNu7u7NkaWZaTTaWZEQV8qDYfDKBaLkwZOVkAI8UuS9GkwiWVZNBr7sLZeo1V6hb/GFrxGwW6s84twzYbgGBRM0/yZzWZtQCKRQGhuD80PT0DbdUzxF9DmA2jzAbiNIjztHUzvvT+UIoqi7TLHcVTX9QeWZVLLMikh5Nzwf2h9USlNgtIk6NSAoNlsYjgXBOG50+liAGCe3/72ayOGP28f9fZ2ewEAv89GYRMEAgGboNvtYjBtf0PB9BsZJz8/Q7dR7d3Xeia75+/0XsGyTEqNrzC/p9HVSzCr7w4N+7GGOr+IE6GnOH3+KgCgo2XhAeCak+DU16PUWL0Mr1EYfdO+027/PZxaWIKJmY4kSaX1lysXnat+HARXMOM5wzA0iSP/etDILixhp9aGz+djAEDTtLt8aflFt1GFcG2NAYB/rN8dqx12fbIAAAAASUVORK5CYII=</Image>

Please use a larger icon from

>Index: ja/mobile/searchplugins/wikipedia-ja.xml
>--- ja/mobile/searchplugins/wikipedia-ja.xml	(ãªãã¸ã§ã³ 607)
>+++ ja/mobile/searchplugins/wikipedia-ja.xml	(ä½æ¥­ã³ãã¼)
>@@ -1,6 +1,6 @@
> <SearchPlugin xmlns="">
>-<ShortName>Wikipedia (ja)</ShortName>
>-<!-- <Description>Wikipedia - ããªã¼ç¾ç§äºå¸</Description> -->
>+<Description>æ¤ç´¢ã¨ã³ã¸ã³ - ããªã¼ç¾ç§äºå¸</Description>

Please don't change the <ShortName/>. uses "Wikipedia (ja)", thanks to which Firefox knows that it already has its plugin installed.

r- because of the last one. Please address the above comments and attach a new patch.
Attachment #415105 - Flags: review?(stas) → review-
patch updated according to Staś's request

As for wikipedia shortname, I believe we should use just "Wikipedia" ad en-US do for Fennec since fennec have really small space for search engine labels. But so far, request approval with "Wikipedia (ja)" and wait for driver's discussions about it.
Attachment #415105 - Attachment is obsolete: true
Attachment #415126 - Flags: review?(stas)
Comment on attachment 415126 [details] [diff] [review]
updated search plug-ins list patch with 32px icons data and no change for wikipedia shortname

Thanks Dynamis! r=me, please land this on 1.9.2 and opt in in the Fennec 1.0 opt-in thread on m.d.l10n.
Attachment #415126 - Flags: review?(stas) → review+
(In reply to comment #8)
> As for wikipedia shortname, I believe we should use just "Wikipedia" ad en-US
> do for Fennec since fennec have really small space for search engine labels.
> But so far, request approval with "Wikipedia (ja)" and wait for driver's
> discussions about it.

I filed bug 531832 to discuss this.
We noticed that we haven't landed patch for bug 487407 on 1.9.1, 1.9.2 nor central and I'll update Yahoo! Japan search plug-ins according to the patch approved in the bug.
# this change has already have approval and no more review needed
Whiteboard: [bootstrapped][twitter][][]
Comment on attachment 415106 [details]
japanese specific twitter search plugin

r=me after the discussion with the l10n drivers.

Dynamis, please land this plugin and change "twitter" in list.txt.

BTW. I'd name this file "twitter-ja.xml" as it changes the language of the search results, not the country-specific settings.
Attachment #415106 - Flags: review?(stas) → review+
hg pushed with "twitter-ja.xml"
 -> resolved fixed
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [bootstrapped][twitter][][] → [bootstrapped][twitter-ja][][]
You need to log in before you can comment on or make changes to this bug.