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 | |
| 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. |
| 45 | |
| 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: |
| 47 | |
| 48 | |
| 49 | {{{ |
| 50 | Org-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 | |
| 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. |
| 87 | |
| 88 | ---- |
| 89 | |
| 90 | == Installation instructions == |
| 91 | |
| 92 | 1. Unpack zip archive |
| 93 | |
| 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. |
| 95 | |
| 96 | 3. Copy all '''modules''' directory to your dolphin root directory - it will create language file in each module. |
| 97 | |
| 98 | 4. Go to Dolphin admin panel -> Tools -> Modules, scroll down to '''Installed Modules''' block, select all modules and click '''Recompile Language(s)''' button. |
| 99 | |
| 100 | 5. Go to Modules -> Orca Forum, click '''[L[Compile Lang:]]ru''' link to compile new language file specifically for orca forum. |