Version 6 (modified by IgorL, 15 years ago) (diff)

--

Dolphin Languages

New language creation

New language creation

This manual is for Dolphin 7 Beta.
The manual for Dolphin 6 is available here

To translate Dolphin's language file you need:

  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.
  1. The downloaded file will have the following structure
    	<?php
    	$aLangInfo=array (
    	  'Name' => 'en',
    	  'Flag' => 'gb',
    	  'Title' => 'English',
    	);
    	$aLangContent=array (
    	  '_add' => 'add',
    	  '_bottom_text' => '2002-{0}. Product of <a class="bottom_text" href="http://www.boonex.com/">BoonEx Group</a>.',
    	  '_copyright' => 'Copyright &copy; {0} Your Company.',
    	  'test_key' => 'Key\'s string',
    	  ...
    	);
    	?>
    
    
    1. 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

  1. 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.
  1. It is necessary that you open and save this file in UTF-8 format. Otherwise non-latin symbols will not be correctly displayed.
  1. 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