Rebranding Firefox: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(→‎Using an extension: link to homepage + add titlebar tweaks)
(update instructions and style according the In-House Style)
Line 1: Line 1:
===Using an extension===
==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]).
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]).


===Manual procedure===
==Manual procedure==
# Go to your Firefox program folder. Then, go to a folder that's called "chrome". Copy that folder somewhere else for a backup.
# 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. 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 [http://rarlabs.com WinRAR], [http://7-zip.org 7-Zip], [http://www.winzip.com 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.
# 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.
# Within the en-US that you extracted, go to locale > en-US > global. Within the global folder, open up the file "brand.dtd".
# 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.


Then, you should see something like this:
There, you should see something like this:
  <!ENTITY lang.version "1.6">
  <!ENTITY  brandShortName       "Firefox">
  <!ENTITY brandShortName "Firefox">
  <!ENTITY brandFullName         "Mozilla Firefox">          
  <!ENTITY brandFullName "Mozilla Firefox">
  <!ENTITY  vendorShortName       "Mozilla">
  <!ENTITY version "0.8">
  <!ENTITY vendorShortName "Mozilla Firefox">
  <!ENTITY releaseURL           "http://www.mozilla.org/products/firefox/releases/1.0.html">
  <!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 Firefox. If Firefox has issues, just restore the back up copy and try again.

Revision as of 14:03, 7 April 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.