Rebranding Firefox: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (Fixed alignment (sort of))
mNo edit summary
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
- Go to your Firebird 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 that 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. I use EZArc.
==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 brand.dtd.
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">


- Then, you should see something like this:
You may edit that to something like this:
Code:
<!ENTITY  brandShortName        "Browser++">
  <!ENTITY  lang.version          "1.5">
<!ENTITY  brandFullName        "My Firefox">
  <!ENTITY  brandShortName        "Mozilla Firebird">
<!ENTITY  vendorShortName      "Mozilla">
  <!ENTITY  version  "0.7">
  <!ENTITY vendorShortName        "Mozilla Firebird">
<!ENTITY releaseURL            "http://www.mozilla.org/products/firefox/releases/1.0.html">


  <!ENTITY  releaseURL            "http://www.mozilla.org/projects/firebird/release-notes.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.


 
[[Category:Visual customizations (Firefox)]]
You could edit that to something like this:
 
Code:
  <!ENTITY  lang.version          "1.5">
  <!ENTITY  brandShortName        "Microsoft Internet Explorer">
  <!ENTITY  version  "0.7">
  <!ENTITY vendorShortName        "Microsoft Internet Explorer">
 
  <!ENTITY  releaseURL          "http://www.mozilla.org/projects/firebird/release-notes.html">
 
 
That assumes that you use en-US.
 
Then, repackage everything back exactly how it was and try to run Firebird.

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.