Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3786956
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:45:52+00:00 2026-05-19T11:45:52+00:00

I’m trying to build an extension for Firefox with localized name basing on information

  • 0

I’m trying to build an extension for Firefox with localized name basing on information from https://developer.mozilla.org/en/Localizing_extension_descriptions (Localizing before Gecko 1.9), but it doesn’t work. The error in the browser’s Javascript console is:

Błąd: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIRDFService.GetLiteral]"  nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox%201.5/components/nsExtensionManager.js :: EM_L :: line 225"  data: no]
Plik źródłowy: file:///C:/Program%20Files/Mozilla%20Firefox%201.5/components/nsExtensionManager.js
Wiersz: 225

My extension files hierarchy is:

gemgecko.xpi:
              /install.rdf                   
              /components/gemgecko.dll                   
              /defaults/preferences/prefs.js                          
              /chrome.manifest                  
              /chrome/locale/pl/install.properties
              /chrome/locale/en/install.properties

/defaults/preferences/prefs.js:

pref("extensions.gemgecko@gemius.pl.name", "chrome://gemgecko/locale/en/install.properties");

/chrome/locale/en/install.properties:

extensions.gemgecko@gemius.pl.name=gemiusAudience study

/chrome/locale/pl/install.properties:

extensions.gemgecko@gemius.pl.name=Badanie Megapanel PBI/Gemius

Can anybody help me to find an error in my extension?

Edit

I’m adding install manifest…

/install.rdf:

<?xml version="1.0" encoding="UTF-8"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
    <em:id>gemgecko@gemius.pl</em:id>
    <em:version>2.01</em:version>
    <em:name>nazwa</em:name>
    <em:creator>tworca</em:creator>
    <em:description>opis</em:description>
    <em:homepageURL>http://www.test.pl</em:homepageURL>

    <em:targetApplication>
        <Description>
            <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> <!-- firefox -->
            <em:minVersion>1.5.0</em:minVersion>
            <em:maxVersion>*</em:maxVersion>
        </Description>
    </em:targetApplication>

</Description>

</RDF>

I’ve tested it on Firefox 1.5 and 3.6. On 3.6 everything seems to work OK, but on 1.5 doesn’t – the extension manager displays the extension’s name from install.rdf not from chrome://gemgecko/locale/install.properties…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T11:45:53+00:00Added an answer on May 19, 2026 at 11:45 am

    chrome://gemgecko/locale/en/install.properties looks to be wrong to me, the /en/ is not part of the chrome: URL, it is substituted when the chrome: URL is converted.

    EDIT:

    I don’t see any chrome registration entries in your chrome.manifest. They should look something like this:

    locale gemgecko pl chrome/locale/pl
    locale gemgecko en chrome/locale/en
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Does anyone know how can I replace this 2 symbol below from the string
I am trying to loop through a bunch of documents I have to put
I have a bunch of posts stored in text files formatted in yaml/textile (from
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I'm new to using the Perl treebuilder module for HTML parsing and can't figure

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.