Changes between Version 7 and Version 8 of DolLang


Ignore:
Timestamp:
Jan 27, 2010, 11:42:17 PM (15 years ago)
Author:
AlexT
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DolLang

    v7 v8  
    1010To translate Dolphin's language file you need: 
    1111 
    12 1. Go to Dolphin administration panel -> Settings -> Languages Settings. In the 'Language Files' block you need to export necessary language file by clicking 'Export' link. 
     121. Install latest Dolphin 
    1313 
    14 2. The downloaded file will have the following structure 
     142. Uninstall all available modules from Dolphin Admin Panel -> Tools -> Modules 
     15 
     163. Go to Dolphin administration panel -> Settings -> Languages Settings. In the 'Language Files' block you need to export necessary language file by clicking 'Export' link. 
     17 
     184. The downloaded file will have the following structure 
    1519{{{ 
    1620        <?php 
     
    3640        * It is necessary that you open and save this file in UTF-8 format. Otherwise non-latin symbols will not be correctly displayed. 
    3741 
    38 3. Go to Dolphin admin panel -> Settings -> Languages Settings and in the 'Create New' block switch tab to 'Import'. Browse for your language file and click 'Import'. If everything is OK, you should see new language in the 'Language Files' block. 
     42        * It exports only system language file, but not modules language files, which are translated a bit different way. 
     43 
     445. Translate language file in each module located in modules/boonex/*/install/langs/en.php. Forum has 2 language files first in the regular location and another one in modules\boonex\forum\integrations\base\langs\en.php. Use the same language code for translated files like in 'Name' field in system language file.  
     45 
     466. Put all translated files in a folder with all modules structure and exported system language in root of the folder. The name of folder must be named with vendor name, language name, version of the translation. So it may look like this: 
     47 
     48 
     49{{{ 
     50Org-Russian-v.1.3 
     51  modules 
     52    boonex 
     53      ads 
     54        install 
     55          langs 
     56            ru.php 
     57      articles 
     58        install 
     59          langs 
     60            ru.php 
     61 
     62      ... 
     63 
     64      forum 
     65        install 
     66          langs 
     67            ru.php 
     68        integrations 
     69          base 
     70            langs 
     71              ru.php 
     72    
     73      ... 
     74 
     75      wall 
     76        install 
     77          langs 
     78            ru.php 
     79 
     80 
     81  lang-ru.php 
     82  readme.txt 
     83 
     84}}} 
     85 
     86Don't forget to put readme.txt file into archive with language file info, compatibility with Dolphin and installation instructions. Pack resulted folder in zip archive.  
     87 
     88---- 
     89 
     90== Installation instructions == 
     91 
     921. Unpack zip archive 
     93 
     942. Go to Dolphin admin panel -> Settings -> Languages Settings and in the 'Create New' block switch tab to 'Import'. Browse for your system language file (in the root of this folder, like lang-ru.php) and click 'Import'. If everything is OK, you should see new language in the 'Language Files' block. 
     95 
     963. Copy all '''modules''' directory to your dolphin root directory - it will create language file in each module. 
     97 
     984. Go to Dolphin admin panel -> Tools -> Modules, scroll down to '''Installed Modules''' block, select all modules and click '''Recompile Language(s)''' button. 
     99 
     1005. Go to Modules -> Orca Forum, click '''[L[Compile Lang:]]ru''' link to compile new language file specifically for orca forum. 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
Fork me on GitHub