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

Final stuff after adding a new language (Was: Re: Hebrew Translation for Debian About Page)



On Tue, Jun 17, 2008 at 03:09:08PM +0200, Jens Seidel wrote:
> On Tue, Jun 17, 2008 at 03:35:49PM +0300, Oz Nahum wrote:
> > >And I committed the initial stuff for Hebrew into CVS.
> 
> It is possible that the Hebrew statistic page will show up soon.
> Nevertheless I assume we have to add "hebrew" to some config files.

Right, english/template/debian/languages.wml needs to be patched for the
translation stats:

$ cvs diff -u english/template

Index: english/template/debian/languages.wml
===================================================================
RCS file: /cvs/webwml/webwml/english/template/debian/languages.wml,v
retrieving revision 1.143
diff -u -r1.143 languages.wml
--- english/template/debian/languages.wml 14 Nov 2007 15:35:18 -0000  1.143
+++ english/template/debian/languages.wml 18 Jun 2008 09:24:44 -0000
@@ -18,6 +18,7 @@
   spanish    => "es",
   finnish    => "fi",
   french     => "fr",
+  hebrew     => "he",
   croatian   => "hr",
   hungarian  => "hu",
   armenian   => "hy",

There is also a mapping (%selflang) in this file which needs to be extended:

# language directory name => native name of the language
# non-ASCII letters must be escaped (using entities)!
my %selflang = (
  arabic     => 'عربية',
  ...

Can you please add Hebrew? This will be displayed in the language
selection in the footer. You can obtain the entity numbers from iconv:
echo "hebrew (as written in Hebrew)" | iconv -t ISO-10646/UCS2/ | od -d

Also add yourself to english/devel/website/tc.data as translation
coordinator (will be used for the page
http://www.debian.org/devel/website/translation_coordinators).

After this send us the diff (cvs diff -u english/ > hebrew.diff).

Jens


Reply to: