[or-cvs] r19645: {website} write down the steps for adding a new language to the websit (website/trunk)
arma at seul.org
arma at seul.org
Sun Jun 7 19:42:32 UTC 2009
Author: arma
Date: 2009-06-07 15:42:32 -0400 (Sun, 07 Jun 2009)
New Revision: 19645
Modified:
website/trunk/Makefile.common
Log:
write down the steps for adding a new language to the website, so
ioerror has a chance of getting it right
Modified: website/trunk/Makefile.common
===================================================================
--- website/trunk/Makefile.common 2009-06-07 02:29:01 UTC (rev 19644)
+++ website/trunk/Makefile.common 2009-06-07 19:42:32 UTC (rev 19645)
@@ -1,3 +1,14 @@
+# Directions for adding a new language:
+# 1. Add the two-letter code to LANGS below.
+# 2. Add a new "%.html.es: es/%.wml en/%.wml" clause below.
+# 3. Add a new ".deps/%.html.es.d: es/%.wml .deps/.stamp" clause below.
+# 4. mkdir a new two-letter directory. Make sure there's a foot.wmi
+# and navigation.wmi.
+# 5. Edit include/perl-globals.wmi, add to @LANGUAGES and %LANGUAGES.
+# You might find useful %LANGUAGES strings at the bottom of
+# http://debian.org/
+# 6. Add a new images/es.png flag image.
+
WMLOPT = \
-I $(WMLBASE)/include \
-D DOCROOT=$(WMLBASE) \
@@ -5,7 +16,6 @@
-D TORSVNSTABLE=$(TORSVNSTABLE) \
-D TORSVNHEAD=$(TORSVNHEAD)
-
LANGS=de en es it fi fr ja ko nl no pl pt ru se tr zh-cn fa
WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS)))
More information about the tor-commits
mailing list