Location: PHPKode > projects > ProNuke. Postnuke To Oracle > postnuke/html/manual/languages.html
<html>
<head>
<title>Language files management</title>
</head>
<body bgcolor=FFFFFF text=000000>
<font face=Verdana,Arial,Helvetica size=2> 
<center>
  <b>Languages</b> 
</center>
<br>
<br>
<br>
The language module helps you to generate your own language files. 
Note that you probably have to use it only on your own computer because it's needed many times 
and requires files access to use it's results. <br>
<br>
<b>Preparation</b> <br>
Note: all operations of this step will not correct or damage your current translation files. 
All resulting files will be saved in separate new directory. 
XXX means your own language everywhere below.<br>
<br>
<li>Use &quot;Select language&quot; option from the menu and select &quot;English&quot; indepentently of language you want to process</li>
<li>Use "Load constants" option to extract and load all the constants from all the PHP files of your site</li>
<li> Use &quot;Load translations&quot; to extract and load translations from all english translation files. This is needed later to put english translations in comments for those constants, that are not yet translated in your own language.</li>
<li>Use &quot;Select language&quot; option from the menu to select your own language, which you want to process</li>
<li>Use &quot;Load translations&quot; to extract and load translations from all translation files for your own language. </li>
<li>Use "Add missing" option from the menu.</li>
<li>Use &quot;Generate&quot; for generation of new translation files for your own language. /lang_temp/ directory will be created. All new translation files will be put there. /language/XXX/missing.php will be created. It will contain all constants that are missed in your own language translation files.</li>
<br><br>
<b>Translation work</b> 
<br>
<li>Edit the file called /language/XXX/missing.php manually (you have to work, sorry) where XXX is your language.</li>
<li>Load the translation for your language again to refresh missing translations</li>
<li>Generate the translation file</li>
<li>Return to first point of this part, until /language/XXX/missing.php will contain only constants with unknown meaning for you or none of them, just header.<li>
<br><br>
<b>Final language installation</b>
<li>Copy all directories from /lang_temp to the root of your site</li>
<br><br><hr><br>
<b>Advanced language module use</b>
<br><br>
<b>If you want to have personal translations for your site and keep them for futur release</b>
<li> Copy the file /language/XXX/total.php to /language/XXX/personnal.php</li>
<li>Edit this file to build a personal translation if you want (delete the unchanged translations)</li>
<li>Load translation files for your language again to use your personal translations</li>
<li>Generate the translation files</li>
<li>Copy all directories from /lang_temp to the root of your site</li>
<br><br>
<b>If You want to init language "XXX" files from another language "YYY" </b>
<li>Do all the preparation steps for the language "YYY" you want to use as a model</li>
<li>Copy the file total.php from language/YYY/total.php to language/XXX/total.php</li>
<li>Proceed like above</li>
<br><br>
<center>
  <img src=../images/global/manual.jpg border=0> 
</center>
</font> 
</body>
</html>
Return current item: ProNuke. Postnuke To Oracle