Translate Pages

From Planipedia
Jump to: navigation, search

Using your skill with multiple languages by translating Planipedia pages is a great way to contribute and expand the Planipedia community. There are a few technical rules to follow when adding translations however, beyond the basics of adding and editing pages.

If you are not sure where to begin translating, check out the list of pages without language links or Planit Projects to get a sense of what Planipages should be translated into what languages.

Enter what will be the new name of the translated page in the search bar. The name of the page should be in the same language that the translated content will be in. For example, if I am translating the English "Tax" page into French, I would search for "Impots". Before you translate a Planipedia page, you should ensure there is no similar existing content. Choose the "create this page" option. This will open the edit screen where you can begin to enter the translated content.

Page Content

While there are no specific regulations on the actual process of translating, we advise that if you do not plan on translating the entire content of the page, that you make note of remaining content in the discussion tab of a page, or even a note on the main page.

Also keep in mind that images, tables or other items should be translated as appropriate. If for some reason you cannot duplicate the image, we recommend you contact the creator of the image by using the User:talk tab found from the File History page.

Language Bar

Save your current edits so far and then search for "Template:Languages". Use the edit or view source tab to copy all text in the main window. Return to the edit tab of your translated page.

At the end of the edit page, paste in the copied information. Template Languages.jpg

While this piece of information may look confusing, it is very easily edited to suit your exact pages.

  1. In Row 1, edit <div style="border:1px solid gray; padding:0.5em;">[[File:Geographylogo.png|25px]]''' Languages: as you like. For example, on a French Planipedia page, you may want to use Langues instead of Languages.
  1. In Row 2 - 4, change the "Name of page in other language" to the entire and exact name of a page, in a language different from the one you are currently on. For example, if I am putting the language bar on my French "Impots" page, I would edit this to be "Tax", the name of the English page that corresponds with the one I am on. Edit "Text you want to be shown" to be a summary of the page name, that is not neccesarily the exact same as the page names. For example, I am directing people to the page called "Tax" but the label could show "Taxes" or "Income Taxes" or "Click Here" or any thing that I want people to see to get them to click on the link to a translation.

Language codes are two-letter codes that represent the language of the page being translated, and are used by Planipedia to keep track of connected multilingual content. A list of the language codes can be found at WikiMedia's List of Languages. Edit the "language code" to be this two-letter code appropriate to the language of the first linked page. So for my link to the "Tax" page, I would enter [[Tax|Taxes (en)]] |

This will link your translated page to the version of the page in the other language. Depending on how many languages your page is linked to, you may need to delete some of the rows given in the template, repeat this process, and add or copy in new rows. Upon saving or previewing your edits, you will notice that there is now a Language bar, which shows the different languages the page can be viewed it.

Geographylogo.png Languages: Français

You should also remember to add your new translated page to the versions of other pages' Language Bar. For example, the originally "Tax" page needs to show the "Impots {fr)" version in its language bar. To do this, copy Row #2 from the copied information and update for the page you translated. [[Impots|Les Impots (fr]] |

Click the edit tab from the page in the other language (not the new one you added). In the Languages section in its edit page, paste in your new line between the others.

<div style="border:1px solid gray; padding:0.5em;">[[File:Geographylogo.png|25px]] '''Languages:''' [[Steuer|Steuer (gr)]] | [[Impots|Les Impots (fr]] | </div>

Save when you are done and repeat for all pages that are the same as the one you have added, but in other languages. You will now have links on all pages related to one another in multiple languages!