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

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



Jens Seidel:

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

There is one more, actually.

> my %selflang = (

Since the language name consists only of non-latin characters, and the
language list at the bottom of the page is sorted by latin letter, you
also need to provide a transliteration of the language name:

# language directory name => Latin transliteration of the language name
# This is used for language names which consist entirely of non-Latin
# characters, to aid those that have browsers which cannot show
different
# character sets at once.
my %translit = (
  arabic   => "Arabiya",
  ...

This transliteration is also displayed in the language list, mainly to
aid browsers that do not provide proper switching of fonts when
encountering characters outside the current page's encoding (i.e older
browsers).

-- 
\\// Peter - http://www.softwolves.pp.se/


Reply to: