restored fixes and tweaks on blog mod
[elgg.git] / _tinymce / docs / option_language.html
blobe5dccf7a49c56ecb5309ef90d3b6157fc5418b4d
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>Option: language</title>
5 <link href="css/screen.css" rel="stylesheet" type="text/css" />
6 </head>
7 <body>
9 <div class="header">
10 <h1>Option: language</h1>
11 </div>
13 <div class="content">
14 <p>
15 This option should contain a language code of the language pack to use with TinyMCE. These codes are in <a href="http://www.loc.gov/standards/iso639-2/englangn.html">ISO-639-1</a> format to see if your language is available check the contents of &quot;tinymce/jscripts/tiny_mce/langs&quot;. The default value of this option is &quot;en&quot; for English.
16 </p>
18 <p>
19 If TinyMCE doesn't have a language pack for your language you could always write your own and contribute this back to this project by uploading it as a Patch at <a href="http://sourceforge.net/projects/tinymce/">SourceForge</a>. A description on how to create language packs can be found in <a href="customization_language_packs.html">Language packs</a> section.
20 </p>
22 <div class="separator"></div>
24 <h3>Example of usage of the language option:</h3>
25 <div class="example">
26 <pre>
27 tinyMCE.init({
28 ...
29 <strong>language : "en"</strong>
30 });
31 </pre>
32 </div>
33 </div>
35 <div class="footer">
36 <div class="helpindexlink"><a href="index.html">Index</a></div>
37 <div class="copyright">Copyright &copy; 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
38 <br style="clear: both" />
39 </div>
41 </body>
42 </html>