Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Translating Moodle Docs: Difference between revisions

From MoodleDocs
(replaced 3.2 by 3.4 Docs version)
(removing requirement of editing an existing docs page)
Line 2: Line 2:
==Contributing to the documentation==
==Contributing to the documentation==
Moodle Docs pages, such as the page you are reading right now, are wiki pages available in [https://docs.moodle.org/overview/ several languages]. Any registered Moodle user can contribute to Moodle Docs and improve or translate these wiki pages. Please make sure to follow the [[:en:Guidelines_for_Contributors|guidelines for contributors]].
Moodle Docs pages, such as the page you are reading right now, are wiki pages available in [https://docs.moodle.org/overview/ several languages]. Any registered Moodle user can contribute to Moodle Docs and improve or translate these wiki pages. Please make sure to follow the [[:en:Guidelines_for_Contributors|guidelines for contributors]].
You need to make at least one edit to an existing docs page before you are allowed to create a new page (an anti-spam feature).


You might find it useful to add the original English documentation pages that you have just translated to your watchlist (alt-shift-w), so that you will know when your translation might need to be re-checked for a possible update.
You might find it useful to add the original English documentation pages that you have just translated to your watchlist (alt-shift-w), so that you will know when your translation might need to be re-checked for a possible update.

Revision as of 13:15, 23 August 2018

Contributing to the documentation

Moodle Docs pages, such as the page you are reading right now, are wiki pages available in several languages. Any registered Moodle user can contribute to Moodle Docs and improve or translate these wiki pages. Please make sure to follow the guidelines for contributors.

You might find it useful to add the original English documentation pages that you have just translated to your watchlist (alt-shift-w), so that you will know when your translation might need to be re-checked for a possible update.

If your language does not have a documentation wiki, you are welcome to add a link to en:Moodle manuals to documentation available elsewhere e.g. Google Docs.

Translating the screen images used in Moodle Docs

Replicating the Mount Orange theme look in a local server with the Boost theme

  • You will need to download the cloudy background from here and the Mount Orange image from here.
  • You may insert these two images in a label in a Moodle course and notice (write down) the paths that references where these images have been stored, as you will need to input these paths later.
  • Go to your site home and edit the site home summary.

Edit Site home 01.png

    • You need to click on the very first tool button in order to show all the tools buttons in the Atto editor.

Edit Site home 02.png

    • You need to click on the </> button in order to input HTML code:

Edit Site home 03.png

Edit Site home 04.png

    • Replace 'YOUR UPLOADED FRONT PAGE IMAGE.jpg' with the path to your recently uploaded front page image, that you carefully wrote down earlier.
    • Now is the time when you replace the 'YOUR HEADING' text with the translated text for your Orange-coloured School ('Escuela Monte Naranja' for this Spanish language example).
    • Replace the 'SMALLER HEADING' text in both places with your language text strings.
    • Replace 'Paragraph of text' in both places.
    • Replace 'BUTTON TEXT' in both cases-
  • When you click again on the <> button, the HTML code will be interpreted and you will see the graphics displayed and the texts rendered in a nice orange-colored style:

Edit Site home 05.png

    • Check the result, and correct if necessary.
    • You can now save your changes.
  • Go to Administration, Appearance, Themes, Boost, advanced settings
  • Paste the 'Boost theme Advanced settings - Raw initial CSS:' and 'Boost theme Advanced settings - Raw SCSS:' codes from https://docs.moodle.org/34/en/Standard_themes#Example_of_a_customised_Boost_theme.
    • In the 'Boost theme Advanced settings - Raw SCSS:' section, replace 'YOUR UPLOADED BACKGROUND IMAGE.jpg' with the path to your recently uploaded cloudy background image.
  • Replace the original English language text with the appropiate text for your language pack.
  • Check that your Mount Orange clone site looks good.
  • Compare your site's front page with the image of Mount Orange 3.4 front page, or better yet, compare your site with the current Mount Orange page.
    • Correct if necessary.
  • If all is fine, save the changes.
  • You can now use your emulated translated Orange site to replicate the beautiful images Moodle HQ used to illustrate Moodle 3.3 new features (or newer branches) in Moodle Docs.

Which documentation pages are most important or useful to translate?

Many Moodle users will start reading the English docs main page. This might be a good page to have translated.

The new features in the latest version would surely be of interest to the users of previous Moodle versions that want to catch up with the new available features.

The quick guides are very short pages (that hopefully you can very quickly translate) that teachers can quickly check, in order to grasp how an important Moodle feature works, without having to read the standard detailed (long) Moodle full documentation pages.

The Table of contents has a very comprehensive and organized list of important Moodle topics. This might be a worthy addition to your language documentation.

If you see a post which has been rated as 'Useful' several times in a Forum in a language other than English, which links to an untranslated English documentation page, it might be a good idea to translate this page.

The English Documentation Special Page with the Most linked-to pages shows the English pages that have the highest number of links and (except for all the User: pages) you will find there many pages highly useful for Moodlers of all languages and worth translating to your language (eg, Managing a Moodle site & Managing a Moodle course).

If you are a Moodle site admin or teacher, using a language other than English, and you use the 'Moodle Docs for this page' link in your daily work, please consider translating the English pages that helped you most to do your job and solve your problems. See below.

Translating the Documentation pages for 'Mooodle Docs for this page' and 'More help' links

  • When logged in as an admin or teacher, 'Moodle Docs for this page' links at the bottom of each page in Moodle take you to documentation about that page in your language, if it exists, otherwise in English.

Moodle Docs for this page.png

  • You might be tempted to start typing the documentation in your own language (if such a page exists), but please don't do it. Instead, change your language to English and then click in the 'Moodle Docs for this page' link.
  • In the English documentation page that just opened, add a language link for your language (see Interlanguage-linking), save it and then open the given translation page.
  • If the English Documentation page has only a redirect instruction, please add a translation for the redirection and then save the English page with the redirection

Redirected page.png Redirected page in English.png

  • Make sure that you add a translation link for the redirection, check that it works (create the page if it did not exist) and save the page.

Redirected page in English with Spanish translation link.png

  • You can now jump to the redirected page in your own language and work on it.

Redirected page in Spanish.png

  • The 'More help' links have the same icon (i) and work the same way as the 'Moodle Docs for this page' links.

Is it important to translate English Documentation pages that only have one #Redirect instruction?

Yes, it is very, very fast and it will make your translated wiki more efficient, because you will replicate all the automatic redirections that exist in the English Docs in your own language Docs, specially with the Docs pages related to online help for specific pages in your Moodle server (see the example above).

If you have translated Documentation pages with #Redirect instructions, it will then be a good idea to go to the TOOLS column at the bottom of the page (in your language wiki documentation) and click on 'Special pages'. There, check the 'Broken redirects' and 'Double redirects' links and fix any pages that might show up there.

Which English documentation pages will change when there is a new Moodle version release


See also