bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU IceCat - cannot install any Language Pack


From: Giuseppe Scrivano
Subject: Re: GNU IceCat - cannot install any Language Pack
Date: Fri, 03 Oct 2008 22:28:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Hello,

I wrote this simple script to help the IceCat localization.  It was
written quickly but it seemed to work well.

To use it, simply put in the icecat source code directory and specify
the locale, for example to generate the `it' localization:

./localize.sh it

The aboutDialog.dtd file contains some free text that must be modified
manually.  If you don't have Emacs installed, modify the script to use
your favorite editor.

Before use the script, copy these two files in the
browser/branding/unofficial/ directory, they were added recently to the
SVN repository and will be present in future releases:

http://svn.savannah.gnu.org/viewvc/*checkout*/trunk/icecat/browser/branding/unofficial/brand.dtd?root=gnuzilla
http://svn.savannah.gnu.org/viewvc/*checkout*/trunk/icecat/browser/branding/unofficial/brand.properties?root=gnuzilla


I hope it simplifies the job.  Please share the final .xpi file!

Happy Hacking!
Giuseppe

#!/bin/sh

if [  $# = 0 ]; then
  echo "Usage: $0 locale"
  exit
fi

(cd .. ; cvs -d :pserver:anonymous:address@hidden:/l10n/ co l10n/$1)
ln -s $PWD/browser/branding/ ../l10n/$1/browser/

perl -pi -e"s/Firefox/Icecat/" ../l10n/$1/browser/chrome/overrides/*.properties
perl -pi -e"s/Firefox/Icecat/" ../l10n/$1/browser/chrome/overrides/*.dtd
perl -pi -e"s/Firefox/Icecat/" ../l10n/$1/browser/chrome/browser/*.properties
perl -pi -e"s/Firefox/Icecat/" ../l10n/$1/browser/chrome/browser/*.dtd

cp ./browser/branding/unofficial/locales/en-US/aboutDialog.dtd 
../l10n/$1/browser/chrome/browser/aboutDialog.dtd
emacs ../l10n/$1/browser/chrome/browser/aboutDialog.dtd

cd browser/locales
make langpack-$1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]