Files
Mozilla/l10nkits/client/windows/docs/nav40/localizeAllPref.html
relliott 767fcda0dd First release of universal localization program kits
git-svn-id: svn://10.0.0.236/trunk@206 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 23:32:42 +00:00

155 lines
5.8 KiB
HTML

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Author" CONTENT="Rick Elliott">
<META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (Win95; I) [Netscape]">
<TITLE>Localizing ALL_PREFS</TITLE>
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000">
<H4>
<A NAME="locnote_allprefs"></A>Localization Notes for ALL_PREFS</H4>
These preferences are identified in the localization notes as "ALL_PREFSRCDATA"
followed by the Javascript function name for that preference.&nbsp; For
example:
<UL><TT>ALL_PREFSRCDATAnetwork.search.url</TT></UL>
The localizable portion of this preference will appear in the XL_STR field.&nbsp;
If this value is a string, it will be surrounded with quotes.&nbsp; If
it is a number, it will not.&nbsp; Do not delete quotes if they are present
and do not add them if they are absent!&nbsp; Many entries also begin with
tab characters or initial spaces; it is best not to alter these, as well.
<P><FONT COLOR="#FF0000">NOTE: the following section is for reference,
showing the way the complete Javascript syntax looks.&nbsp; The entries
contained in the translation databases separate the Javascript function
from the data that function returns. Comments are reproduced in the COMMENT
field of the translation database where appropriate.</FONT>
<P>You only need to localize the following entries. The parts you need
to change are highlighted in <FONT COLOR="#FF00FF">majenta</FONT>. Comments
are in <FONT COLOR="#009900">green</FONT>. Localize URLs according to the
<A HREF="localizeURL.html">rules</A>.
<UL>
<LI>
pref("network.<FONT COLOR="#000000">search</FONT>.url", "<FONT COLOR="#FF00FF">http://cgi.netscape.com/cgi-bin/url_search.cgi?search=</FONT>");</LI>
<UL><FONT COLOR="#009900">This URL is connected to the Navigator's Search
button.</FONT>
<BR>&nbsp;</UL>
<LI>
pref("browser.startup.homepage", "<FONT COLOR="#FF00FF">http://home.netscape.com/</FONT>");</LI>
<UL><FONT COLOR="#009900">This is the default home page value that is attached
to the Home button and the Home menu item.</FONT></UL>
</UL>
<UL>
<LI>
pref("browser.personal_toolbar_button.max_chars", <FONT COLOR="#FF00FF">15</FONT>);</LI>
<UL><FONT COLOR="#009900">This determines the maximum number of characters
a personal toolbar button title can contain.&nbsp; You may not need to
change this, but it's there if you do.</FONT>
<BR>&nbsp;</UL>
<LI>
pref("intl.accept_languages",&nbsp;&nbsp;&nbsp; "<FONT COLOR="#FF00FF">en</FONT>");</LI>
<UL><FONT COLOR="#009900">This determines the default value of the ACCEPT_LANG
property of the META tag. You can see this value by choosing Edit | Preferences,
select Navigator | Language; the default value will be the 2 letter ISO
Language code value you supply here.</FONT>
<BR>&nbsp;</UL>
<LI>
pref("intl.accept_charsets",&nbsp; "<FONT COLOR="#FF00FF">iso-8859-1</FONT>,*,utf-8");</LI>
<UL><FONT COLOR="#009900">Replace iso-8859-1 with sjis for Japanese, euc-kr
for Korean, gb for Simplified Chinese, Big5 for Traditional Chinese, iso8859-2
for Latin 2 languages.</FONT>
<BR>&nbsp;</UL>
<LI>
pref("intl.character_set",&nbsp; <FONT COLOR="#FF00FF">2</FONT>);</LI>
<UL><FONT COLOR="#009900">You only need to change this for non-LATIN1 languages.&nbsp;
Use the <A HREF="charsets.htm">CSID Reference table </A>to look up the
appropriate value for other languages.</FONT>
<BR>&nbsp;</UL>
<LI>
pref("intl.font_encoding", 6);</LI>
<UL><FONT COLOR="#009900">maybe not used, 6 = CS_MAC_ROMAN, 1292 = ko,
263 = trad. chinese, 264 = simp. chinese</FONT></UL>
&nbsp;
<LI>
pref("editor.template_location", <FONT COLOR="#FF00FF">http://home.netscape.com/home/gold3.0_templates.html</FONT>");</LI>
<LI>
pref("editor.default_template_location", "<FONT COLOR="#FF00FF">http://home.netscape.com/home/gold3.0_templates.html</FONT>");</LI>
<UL><FONT COLOR="#009900">Localize these URL according to the </FONT><A HREF="localizeURL.html">rules</A><FONT COLOR="#009900">.</FONT></UL>
<LI>
pref("editor.html_directory",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "<FONT COLOR="#FF00FF">C:\\My
Documents</FONT>");</LI>
<LI>
pref("editor.image_directory",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "<FONT COLOR="#FF00FF">C:\\My
Documents</FONT>");</LI>
<UL><FONT COLOR="#009900">If the My Documents directory is translated on
the localized version of Windows you working on, then match this preference
with the localized value.</FONT>
<BR>&nbsp;</UL>
<LI>
pref("editor.color_scheme",&nbsp;&nbsp;&nbsp;&nbsp; "<FONT COLOR="#FF00FF">Netscape
Default Colors</FONT>");</LI>
<UL><FONT COLOR="#009900">This string should match the value used to translate
STRINGTABLE42169 (but it's not critical if it doesn't).</FONT>
<BR>&nbsp;</UL>
<LI>
pref("ldap.directory1.description", "<FONT COLOR="#FF00FF">Personal Address
Book</FONT>");</LI>
<LI>
pref("ldap_1.directory1.description", "<FONT COLOR="#FF00FF">Personal Address
Book</FONT>");</LI>
<UL><FONT COLOR="#009900">These entries appears as the description for
searching the personal address book in a mail directory search.&nbsp; Translate
them the way you do all the other instances of this string.</FONT>
<BR>&nbsp;</UL>
<LI>
&nbsp;pref("netcaster.containers.container1", "-3;'Channel_Finder'; '<FONT COLOR="#FF00FF">http://netcaster.netscape.com/finder/container/index.html</FONT>';
1440;0");</LI>
<UL><FONT COLOR="#009900">Localize this URL according to the </FONT><A HREF="localizeURL.html">rules</A><FONT COLOR="#009900">.</FONT></UL>
</UL>
&nbsp;
<CENTER><TABLE COLS=2 WIDTH="50%" >
<TR>
<TD>
<CENTER>[<A HREF="usingKit.html#locnote_allprefs">BACK</A>]</CENTER>
</TD>
<TD>
<CENTER>[<A HREF="toc.html">CONTENTS</A>]</CENTER>
</TD>
</TR>
</TABLE></CENTER>
<CENTER>&nbsp;</CENTER>
<CENTER><FONT FACE="Arial, Helvetica"><FONT SIZE=-2>1998, Copyright Netscape
Communications Corp. All Rights Reserved</FONT></FONT></CENTER>
&nbsp;
</BODY>
</HTML>