Changes between Version 11 and Version 12 of DolLang
- Timestamp:
- Apr 22, 2012, 11:52:34 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DolLang
v11 v12 7 7 '''''This manual is for Dolphin 7.0.x'''''.[[BR]] 8 8 '''''The manual for Dolphin 6 is available [http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#HowcanItranslatemysiteintoadifferentlanguage here]''''' 9 10 == Translating newly installed Dolphin sites == 9 11 10 12 To translate Dolphin's language file you need to: … … 94 96 2. 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. 95 97 96 3. Copy all the '''modules''' directoryto your dolphin root directory - it will create the language file in each module.98 3. Copy the whole '''modules''' directory from the folder you created it in (in our example it's the folder ''Org-Russian-v.1.3'') to your dolphin root directory - it will create the language file in each module. 97 99 98 100 4. 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. 99 101 100 102 5. Go to the Modules -> Orca Forum, click '''[L[Compile Lang:]]ru''' link to compile new language file specifically for orca forum. 103 104 == Translating sites with existing members and content == 105 106 If you want to translate a site which already has registered members who added some content, it will be dangerous for your site to un-install modules to translate them. 107 108 In this case, you should act a little bit differently. 109 110 111 '''NOTE''': Only the default language keys will get translated. If you added any language keys after installation, you will get them un-translated. 112 113 1. Extract the default language file from the original [http://get.boonex.com/Dolphin-v.7.0 Dolphin package]. 114 115 The file's location in the archive is '''install/langs/lang-en.php'''. 116 117 Translate this file in a UTF-8 format. This [http://notepad-plus-plus.org/ program] will be very useful for you to edit your files created in many encodings and convert them to UTF-8 ('''Encoding -> Convert to UTF-8 without BOM'''). 118 119 2. The steps 4-6 of the previous [Translating newly installed Dolphin sites] instructions should be repeated right in the way they were written above.