[Project_owners] Using foreign language in my extension

Didier Ernotte didier at ernotte.com
Mon Nov 22 20:55:40 EST 2004


I'm trying to use different foreign language in my extension, but I
can't succeed (inforss.mozdev.org). 
I have declared the locale in the install.rdf as

         <Description about="urn:mozilla:extension:file:inforss.jar">

and each language as a contents.rdf as (for exemple)

<?xml version="1.0"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

  <!-- list all the packages being supplied by this jar -->
  <RDF:Seq about="urn:mozilla:locale:root">
    <RDF:li resource="urn:mozilla:locale:fr-FR"/>

  <!-- locale information -->
  <RDF:Description about="urn:mozilla:locale:fr-FR"
        chrome:displayName="Français (FR)"
        chrome:author="Didier Ernotte"
      <RDF:Seq about="urn:mozilla:locale:fr-FR:packages">
        <RDF:li resource="urn:mozilla:locale:fr-FR:inforss"/>

If I'm using a English firefox, it works fine. If i'm using a French
Firefox, I have an error when the extension is loaded. The inforss.dtd
file in the overlay file can not be found. Same issue with a swedish
Any clue ?

Didier Ernotte

Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 

More information about the Project_owners mailing list