Changes between Version 10 and Version 11 of DolLang


Ignore:
Timestamp:
Jan 28, 2011, 9:11:39 AM (14 years ago)
Author:
Mike
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DolLang

    v10 v11  
    88'''''The manual for Dolphin 6 is available [http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#HowcanItranslatemysiteintoadifferentlanguage here]''''' 
    99 
    10 To translate Dolphin's language file you need: 
     10To translate Dolphin's language file you need to: 
    1111 
    12 1. Install latest Dolphin 
     121. Install the latest Dolphin 
    1313 
    14142. Uninstall all available modules from Dolphin Admin Panel -> Tools -> Modules 
    1515 
    16 3. Go to Dolphin administration panel -> Settings -> Languages Settings. In the 'Language Files' block you need to export necessary language file by clicking 'Export' link. 
     163. Go to the Dolphin administration panel -> Settings -> Languages Settings. In the 'Language Files' block you need to export the necessary language file by clicking the 'Export' link. 
    1717 
    18184. The downloaded file will have the following structure 
     
    3434 
    3535}}}      
    36         * 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#LanguageFiles7 
     36        * 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 this using the following link http://www.boonex.com/unity/txt/extension_requirements#LanguageFiles7 
    3737         
    38         * 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. 
     38        * If you use the (') sign in the language string you need to escape it by replacing it with (\'). Take a look at the example above -> 'test_key' language key. 
    3939 
    4040        * It is necessary that you open and save this file in UTF-8 format. Otherwise non-latin symbols will not be correctly displayed. 
    4141 
    42         * It exports only system language file, but not modules language files, which are translated a bit different way. 
     42        * It exports only the system language file, but not modules language files, which are translated a bit differently. 
    4343 
    44 5. 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.  
     445. Translate the language file in each module located in modules/boonex/*/install/langs/en.php. The Forum has 2 language files - first in the regular location and another one in the modules\boonex\forum\integrations\base\langs\en.php. Use the same language code for translated files like in the 'Name' field in the system language file.  
    4545 
    46 6. 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: 
     466. Put all translated files in a folder with all modules structure and exported system language in the root of the folder. The name of the folder must be named with the vendor name, language name and version of the translation. So it may look like this: 
    4747 
    4848 
     
    8484}}} 
    8585 
    86 Don'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.  
     86Don't forget to put a readme.txt file into the archive with language file info, compatibility with Dolphin and installation instructions. Pack the resulting folder in a zip archive.  
    8787 
    8888---- 
     
    9090== Installation instructions == 
    9191 
    92 1. Unpack zip archive 
     921. Unpack the zip archive 
    9393 
    94 2. 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. 
     942. Go to the Dolphin admin panel -> Settings -> Languages Settings, and in the 'Create New' block switch tabs 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 the new language in the 'Language Files' block. 
    9595 
    96 3. Copy all '''modules''' directory to your dolphin root directory - it will create language file in each module. 
     963. Copy all the '''modules''' directory to your dolphin root directory - it will create the language file in each module. 
    9797 
    98 4. Go to Dolphin admin panel -> Tools -> Modules, scroll down to '''Installed Modules''' block, select all modules and click '''Recompile Language(s)''' button. 
     984. Go to the Dolphin admin panel -> Tools -> Modules,  and scroll down to the '''Installed Modules''' block. Select all modules and click the '''Recompile Language(s)''' button. 
    9999 
    100 5. Go to Modules -> Orca Forum, click '''[L[Compile Lang:]]ru''' link to compile new language file specifically for orca forum. 
     1005. Go to the 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