History: Interactive Translation
Source of version: 40 (current)
Copy to clipboard
! Interactive Translation of Tiki Interface __This permits web-based, in-context translations.__ ^The feature was added in ((Tiki2)) and underwent an overhaul in ((Tiki5)), and further improvements in ((Tiki6)) and ((Tiki7)). As of ((Tiki6)).1, this tool can't translate the strings in JavaScript functions, so you still need to edit manually the -+./lang/xx/language.js+- file from your ''xx'' language. ^ !! To setup interactive translation # Enable ''Multilingual'' and ''Use database for translation'' on the i18n/Multilingual control panel ( -+tiki-admin.php?page=i18n+- ) # Give the ((permission)) tiki_p_edit_languages to the ((group)) that should be allowed to edit languages. If you skip this step, only admins will be able to. Please note that if you give tiki_p_edit_languages to regular (non-admin users), they'll only be able to translate non-admin interfaces. # Add the ((module switch_lang)) !! To use interactive translation # Using the ((module switch_lang)) select the language you want to translate to # From tiki-edit_languages.php (Admin -> Edit languages), Use ''Toggle interactive translation ON''. + +{img type="fileId" fileId="1351" thumb="box" height="400px"} + ''Note: You may need to add an item in a Menu or a link to "tiki-edit_languages.php".'' ** The tools will be enabled for your session. You will need to turn it off from the same location. ** The tools appear as a green bar at the top of the screen # Navigate to the page containing the string you want to translate, or change locally if for an English website. # Check the ''Interactive Translation'' checkbox in the green toolbar. Uncheck it when you want to continue navigating. + + {img type="fileId" fileId="1352" thumb="box" height="400px"} # Click on the string you wish to translate. A window will open displaying related strings. + + {img type="fileId" fileId="1353" height="400px"} # Modify the strings and save the translations. Changes will appear immediately. Selecting a string may occasionally lead to false positives being listed. The most relevant options are generally on top, but be careful when translating the text. You should likely make sure your database & Tiki are properly setup to use UTF-8: ((Understanding Encoding)) -=Related pages=- * ((i18n|Internationalization)) * ((i18n Admin|Internationalization Admin)) * ((Interface translation (old)|Internationalization User)) * ((Translating Tiki Interface)) * ((Multilingual Wiki)) * [http://tiki.org/i18n] * [http://i18n.tiki.org/] * https://tiki.org/article190-Interactive-Multilingual-Crowdsourcing-translations-with-Tiki -=Alias=- * (alias(Interactive Translation of Tiki Interface)) * (alias(In-context Translation)) * (alias(Translation in context))