Version 4 (modified by IgorL, 15 years ago) (diff) |
---|
Dolphin Languages
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:
- Go to Dolphin administration panel -> Settings -> Languages Settings. In the 'Language Files' block you need to export necessary language file by clicking 'Export' link.
- 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 © {0} Your Company.', 'test_key' => 'Key\'s string', ... ); ?>
- 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
- 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.
- 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.