Changes between Version 3 and Version 4 of DolLang


Ignore:
Timestamp:
Jul 8, 2009, 12:20:55 PM (16 years ago)
Author:
IgorL
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DolLang

    v3 v4  
    22 
    33'''[http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#HowcanItranslatemysiteintoadifferentlanguage New language creation]''' 
     4 
     5== New language creation == 
     6 
     7'''''This manual is for Dolphin 7 Beta'''''.[[BR]] 
     8'''''The manual for Dolphin 6 is available [http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#HowcanItranslatemysiteintoadifferentlanguage here]''''' 
     9 
     10To translate Dolphin's language file you need: 
     11 
     121. Go to Dolphin administration panel -> Settings -> Languages Settings. In the 'Language Files' block you need to export necessary language file by clicking 'Export' link. 
     13 
     142. Downloaded file will have the following structure 
     15{{{ 
     16        <?php 
     17        $aLangInfo=array ( 
     18          'Name' => 'en', 
     19          'Flag' => 'gb', 
     20          'Title' => 'English', 
     21        ); 
     22        $aLangContent=array ( 
     23          '_add' => 'add', 
     24          '_bottom_text' => '2002-{0}. Product of <a class="bottom_text" href="http://www.boonex.com/">BoonEx Group</a>.', 
     25          '_copyright' => 'Copyright &copy; {0} Your Company.', 
     26          'test_key' => 'Key\'s string', 
     27          ... 
     28        ); 
     29        ?> 
     30 
     31}}}      
     32        a. You need to change the 'Name', 'Flag' and 'Title' in accordance with the language you are translating to. Note. You need to use International Language Codes for 'Name' and 'Flag'. You may read more about it using the following link http://www.boonex.com/unity/txt/extension_requirements#LanguageFiles 
     33         
     34        b. If you use (') sign in the language string you need to escape it by replacing with (\'). Take a look at example above -> 'test_key' language key. 
     35 
     363. 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. 
 
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