Rebranding Firefox: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
# Go to your Firefox program folder. Then, go to a folder that's called "chrome". Copy that folder somewhere else for a backup.
==Using an extension==
It is possible to change the wording using an extension such as [https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&id=31 Firesomething] or [https://addons.update.mozilla.org/extensions/moreinfo.php?id=57 Titlebar tweaks] (both by [http://www.cosmicat.com/extensions/ momokatte]).


# Within the chrome folder, there is a JAR file called en-US. If that's the language you are using, extract it. You need to find some software that can extract JARs and repackage them. Examples are EZArc, 7-Zip, Winzip, etc. Alternatively, under WinXP, you can rename it to a .zip, use the built-in un-zipper, make your changes, and change it back to a .jar when you're done.
==Manual procedure==
# Go to your Firefox application folder. Then, go to a folder that's called "chrome". Copy that folder somewhere else for a backup.
# Within the "chrome" folder, there is a JAR file called "en-US.jar". Extract it (We assume you use US English Firefox). You need to have some software that can extract JARs and repackage them. Examples are [http://rarlabs.com/ WinRAR], [http://7-zip.org/ 7-Zip], [http://www.winzip.com/ Winzip], etc. Alternatively, under Windows XP, you can rename it to "en-US.zip", use the built-in unzipper, make your changes, and change it back to "en-US.jar" when you're done.
# In the file that you extracted, there is a "locale" folder.
#* '''Firefox 1.0''': Navigate to <tt>locale\en-US\global</tt>.
#* '''Later Firefox versions''': Navigate to <tt>locale\branding</tt>.
# Open "brand.dtd" file.


# Within the en-US that you extracted, go to locale > en-US > global. Within the global folder, open up the file "brand.dtd".
There, you should see something like this:
 
  <!ENTITY  brandShortName       "Firefox">
* Then, you should see something like this:
  <!ENTITY brandFullName         "Mozilla Firefox">          
  <!ENTITY lang.version "1.6">
  <!ENTITY  vendorShortName       "Mozilla">
  <!ENTITY brandShortName "Firefox">
  <!ENTITY brandFullName "Mozilla Firefox">
  <!ENTITY releaseURL           "http://www.mozilla.org/products/firefox/releases/1.0.html">
  <!ENTITY version "0.8">
  <!ENTITY vendorShortName "Mozilla Firefox">
  <!ENTITY releaseURL "http://www.mozilla.org/projects/firebird/release-notes.html">


You may edit that to something like this:
You may edit that to something like this:
  <!ENTITY lang.version "1.6">
  <!ENTITY  brandShortName       "Browser++">
  <!ENTITY brandShortName "My Browser">
  <!ENTITY brandFullName         "My Firefox">
  <!ENTITY brandFullName "My Browser">
  <!ENTITY vendorShortName      "Mozilla">
  <!ENTITY version "1.0">
   
  <!ENTITY vendorShortName "My Browser">
  <!ENTITY releaseURL           "http://www.mozilla.org/products/firefox/releases/1.0.html">
  <!ENTITY releaseURL "http://www.mozilla.org/projects/firebird/release-notes.html">


That's if you en-US, of course.
Then, repackage everything back exactly how it was and open up Firefox. If Firefox has issues, just restore the backup copy and try again.


Then, repackage everything back exactly how it was and open up Firebird. If Firebird has issues, just restore the back up copy and try again.
[[Category:Visual customizations (Firefox)]]

Latest revision as of 14:21, 19 September 2005

Using an extension

It is possible to change the wording using an extension such as Firesomething or Titlebar tweaks (both by momokatte).

Manual procedure

  1. Go to your Firefox application folder. Then, go to a folder that's called "chrome". Copy that folder somewhere else for a backup.
  2. Within the "chrome" folder, there is a JAR file called "en-US.jar". Extract it (We assume you use US English Firefox). You need to have some software that can extract JARs and repackage them. Examples are WinRAR, 7-Zip, Winzip, etc. Alternatively, under Windows XP, you can rename it to "en-US.zip", use the built-in unzipper, make your changes, and change it back to "en-US.jar" when you're done.
  3. In the file that you extracted, there is a "locale" folder.
    • Firefox 1.0: Navigate to locale\en-US\global.
    • Later Firefox versions: Navigate to locale\branding.
  4. Open "brand.dtd" file.

There, you should see something like this:

<!ENTITY  brandShortName        "Firefox">
<!ENTITY  brandFullName         "Mozilla Firefox">            
<!ENTITY  vendorShortName       "Mozilla">

<!ENTITY  releaseURL            "http://www.mozilla.org/products/firefox/releases/1.0.html">

You may edit that to something like this:

<!ENTITY  brandShortName        "Browser++">
<!ENTITY  brandFullName         "My Firefox">
<!ENTITY  vendorShortName       "Mozilla">

<!ENTITY  releaseURL            "http://www.mozilla.org/products/firefox/releases/1.0.html">

Then, repackage everything back exactly how it was and open up Firefox. If Firefox has issues, just restore the backup copy and try again.