FANDOM


This page contains information on translating the Habitica Wiki; for information on translating Habitica see Guidance for Linguists.

It's recommended that you join the Commonwealth of i18n - Aspiring Linguists of Habitica guild (for Habitica translators) and the Wizards of the Wiki guild (for Habitica Wiki editors). Some wikis also have their own guilds (refer to the table below) and you are encouraged to join the one for your language.

All Linguistic Scribes should be fluent in the language they are translating into. It is better to have no translation than a bad translation because poor quality translations provide a negative impression of Habitica and can be misleading or incorrect. Please do not supply translations by using Google Translate or similar services; wiki readers who are willing to accept a poor translation can use Google Translate on the English version of the page themselves. Providing a poor translation can also prevent a more fluent translator from working on a page because they might not realize that the translation needs work if they don't read the page thoroughly.

Please read all the steps below before you start translating.

Find or Request a Wiki for Your Language Edit

Habitica wikis already exist for the languages in the table below. For other languages, go to the Wizards of the Wiki guild and ask that a wiki be created for you. Habitica admins will create it and its home page, arrange for it to be able to use the images from the English wiki, set up stylesheets, and add you as an admin of the wiki (in addition to some admins from the English wiki).

URL Language English name Translators' guild
da.habitica.wikia.com Dansk Danish
de.habitica.wikia.com Deutsch German Wiki - German Translators
es.habitica.wikia.com Español Spanish ¡Aventureros a la Wiki! (Note: this guild is private; if you're interested in joining, please request an invitation at the Commonwealth of i18n guild)
fr.habitica.wikia.com Français French
it.habitica.wikia.com Italiano Italian
ja.habitica.wikia.com 日本語 Japanese Habitica 日本語訳 Team
ms.habitica.wikia.com Bahasa Melayu Malay
nl.habitica.wikia.com Nederlands Dutch Nederlands Wiki Gilde van Habitica
pl.habitica.wikia.com Polski Polish
pt-br.habitica.wikia.com Português Brasileiro Brazilian Portuguese Wiki - Portuguese Translators
ru.habitica.wikia.com Русский Russian Переводчики Habitica
tr.habitica.wikia.com Türkçe Turkish Türkçe Linguists and Scribes
zh.habitica.wikia.com 中文 (简体 & 繁體) Chinese (simplified and traditional) QQ群 563291803

Translating Edit

It is recommended that you only create a page in your wiki when you are ready to translate it. If a non-English wiki contains a high proportion of English pages, it is harder for users to find content in their own language and harder for Habitica admins to judge when you have earned contributor tiers for your translation work.

Please translate each page fully before starting another page.

If a translators' guild exists for your language, you are encouraged to join it.

Preparation + Copying Edit

The first step is to navigate to the location where you want the translated page to appear. To do this, first go to the front page of the target language Wikia and look at the address bar, which will say:
xx.habitica.wikia.com/wiki/Habitica_Wiki -- "xx" being the language code of the target language.

We will use the Pets page as an example. The source language (English) page is:

habitica.wikia.com/wiki/Pets

The target language (here German) page is:

de.habitica.wikia.com/wiki/Haustiere

You will notice that only the language code and the text after the "/wiki/" has changed. The text after the "/wiki/" defines where the translated page will be created. This is the location that you have to navigate to.

Once there you will see an empty page with a "create" button where you would normally see an "edit" button. Press the "create" button. You have now entered the Editor.

With the editor open, you now need the source language text (the English page). To get the text, you have to open another browser/window/tab, navigate to the page you want to translate and click "edit".

You should now have both editors open. Copy the source code of the English page to the target language Wikia page and publish.

NOTE: Sometimes copying in visual mode is preferable (if pictures within tables are involved, or a lot of templates, as it is the case with the Class pages). But generally, you will copy the source.

Example:

  • Look at the /wiki/Pets editor. At the top right, there are two tabs. One says "Visual", and one says "Source".
  • Click on the "Source" tab.
  • The screen will be filled with the source code of the page. Copy everything (it does not matter whether you understand it all at this point).
  • Once you have copied the source code the browser/window/tab is no longer needed, so it can be closed.
  • Change to the /wiki/Haustiere editor.
  • Go to source mode (if you are not already using it).
  • Paste the source code, write a summary of your edit ("created" or something), then publish your edit.

This might look terrible, but that is acceptable for now.

The next step is to insert all required images and templates from the English Wikia to the target language Wikia. Templates can sometimes be skipped if they contain no important information.

Images can be inserted without the need for copying them to your wiki (more information is coming soon about this or ask in the Wizards of the Wiki guild); the only time you'd need to host an image on your own wiki is if it contains text and you want to provide a non-English version of it.

After this step, the pages should look nearly identical.

Translation Edit

The process of actually translating the pages is what you are here for.

It is important to note which terms to translate and which terms to leave as they are. "Feature" is a word that is often present in other languages. "Daily" and "To-Do" might prove challenging.

Another equally important guideline is to stick to the existing vocabulary. If there is a name for something already, reuse that word. Do not invent new words for the same thing. Your translation might not sound as good in your head, but for usability, it is necessary to refer to the same thing with the same word. If you really think you have a better solution, discuss it first.

The following pages are the first that should be translated and maintained on any translation Wikia:

- Front page
- Class_System
  -Warrior
  -Mage
  -Rogue
  -Healer
- Pets
- Mounts

You should add the following template to every page you translate: {{Translation}}

Sort Order Edit

Wikia sorts articles and categories by their titles using Unicode sort order. While this works well for English, it can cause pages in other languages to be sorted differently from the sort order usually used. To avoid this, you can set the DEFAULTSORT variable on a page to move the page to a more appropriate position. Anywhere on the page you want to change the position of, insert:

{{DEFAULTSORT:new sort key}}

What you use for the new sort key will depend on the sorting rules in your language, and it is recommended that you discuss this with other translators working on your wiki. As an example, inserting:

{{DEFAULTSORT:A Faire}}

into the French article À Faire will ensure that it is sorted with other pages starting with "A", rather than after "Z".

This technique can also be used to sort articles by a word other than the first word in the title. For example, you could set sort keys for all articles starting with "The" so that they are arranged by the second word, rather than having many pages under "T".

Add Language Links Edit

When your work is done, add a language link to the bottom of each translated page and its English counterpart. To learn how this is done, read Help:Interlanguage_links.

Example: [[en:Guidance for Linguists]] (would link to this page from another language)

Example: [[de:Leitfaden für Übersetzer]] (would link to the German page) 

Note that on translated (i.e., non-English) wikis, only English interlanguage links should be provided, as interlanguage linking is not set up between different non-English wikis. This is because too few people are likely to go between translated wikis to justify the effort of linking each translation and updating all existing pages to reflect new language wikis and pages. Those who do want to go from one non-English wiki to another can use the English wiki as an intermediary.

Contributor Tier ProcessEdit

Please read The Keep:The Knights Chambers to understand the process for requesting a contributor tier. When you are ready, you can start your application through that page. Please note that monitoring and checking translations makes it especially difficult to assess tiers for non-English wikis, and contributor tiers might not be given. All tiers are awarded at the discretion of the staff.

Initial Creation of Wiki by AdministratorsEdit

This section contains information for the English wiki's admins to help them set up a new wiki in another language. This section can be ignored by translators.

Show/Hide instructions
  1. Click on the "Start a wikia" button in the header of any wiki page and enter information in the dialog that appears:
    1. In the Name field, enter exactly "Habitica".
    2. Allow the Address field to be created automatically and do not change it for any reason.
    3. Select the language. It is vital that you choose the right one, otherwise, there will be trouble with language linking later. If you don't know the two-character code for the target language, you can look up the ISO code and look for the value in the "639-1" column for the desired target language.
    4. Click the "Next" button which will take you to a second screen.
    5. In the "What's your wiki about?" field, enter "Your Life, The Role Playing Game".
    6. In choose a hub, select "Games".
    7. For "Check additional categories", do not tick any checkboxes.
    8. Click the "Create My Wiki" button which will take you to the "Choose your theme" page.
    9. Select the first theme.
    10. Click the "Show me my wiki" button which will take you to the new wiki's front page.
    11. Cancel the "Congratulations! You successfully created Wikia Habitica" popup. Do NOT click on the "Add a Page" button.
  2. Go to the English wiki's front page and open it in the source mode editor. Copy the entire contents to your clipboard. Close the editor without making changes.
  3. Open the new wiki's front page in the source mode editor and paste in the entire contents of the English front page.
  4. In the welcome box, replace "The wiki is also available in other languages: {{Other Languages|compact}}" with "The wiki is also available in [http://habitica.wikia.com/ English] and other languages (available from the English wiki's home page)." We do not list all the languages in the welcome box because then every wiki's home page would need to be updated when a new wiki is created.
  5. At the bottom of the page, replace the list of languages with "[[en:Habitica Wiki]]". Do not worry if that link does not work after the page has been saved.
  6. Save the home page. Do not worry that it looks terrible at the moment. Do not start copying images from the English wiki, not even the Habitica logo.
  7. Go to Category:Homepage Templates on the English wiki. Copy all templates you find there to the new wiki (see the tip below about copying files). This should make the new wiki's home page look better. Any remaining problems are likely to be fixed by the steps below.
  8. Set up administrators:
    1. Go to habitica.wikia.com/wiki/Special:UserRights on the English wiki.
    2. Edit the URL to change habitica.wikia.com to the domain name for the new wiki (i.e., add the language's abbreviation at the start of habitica.wikia.com). This will take you to the correct form for adding administrators to the new wiki.
    3. Add LadyAlys, Sonnet73, and Taldin as administrators (give them all available permissions). Also, add the person who asked for the wiki to be created (you will need to find out the name that their Wikia account uses); the Special:Listusers page might help.
  9. Go to Wikia's Community Central : Interlanguage link requests page and follow the instructions there to request language linking from the English wiki to the new wiki. After Wikia staff have done that, the link to the English wiki at the bottom of the new wiki's home page should start to work.
  10. This next step must be performed by a person who is an administrator on both the new wiki and the English wiki. Go to the form for contacting Wikia staff. For the subject, enter text like "Image reuse from habitica.wikia.com to new translated wiki and JavaScript editing". For the message enter text like "Hello. I'm an admin of http://habitica.wikia.com/ and [URL]. Could you please allow [URL] to be able to use the images from http://habitica.wikia.com/ ? Please could you also enable http://community.wikia.com/wiki/Help:JavaScript_review_process on [URL]? Thank you!". Change "[URL]" to the URL of the new wiki in both places it appears. It will take a day or two for Wikia staff to enable image sharing and JavaScript editing. After they have done that, the Habitica logo will automatically appear on the new wiki's home page (as will other images on other pages that are created by copying the source code from the English wiki).
  11. After the above step has been completed, copy each of the stylesheets and JavaScript files below to the new wiki (see the tip below about copying files). Ignore any of these files if they show nothing but 404 errors on the English wiki (those files are not in use yet). Note that changes to the JavaScript files will not take effect until after they have been reviewed by Wikia staff.
  12. Adjust the Theme, Wordmark, FavIcon, Templates, Color set, Top Menu. More info to come.
  13. Enable any features on the new wiki's Special:WikiFeatures page that you would like to use and are not enabled by default (e.g., badges/achievements). (Note: the link goes to the English wiki; please adjust the URL for the new wiki.)
  14. Add the new wiki's URL and the language name (not the English version of the name) to the English wiki's home page in the Welcome box and in the list of languages at the bottom of the home page (do not worry if that latter link does not work yet; it will when Wikia staff have enabled interlanguage linking).
  15. Add the new wiki's details to the table of wikis in Guidance for Linguistic Scribes.
  16. Tell the person who requested the wiki that they can now translate the home page and then start translating other pages.

Tip: When copying files (such as templates, stylesheets, and JavaScript files) from the English wiki to the new wiki, the easiest method is below. Do not do this from any of the non-English wikis because if you do, the final file names will be wrong!

  1. On the English wiki, open the file in the source editor.
  2. Copy the entire contents to the clipboard.
  3. Do not save or cancel from the source editor!
  4. Adjust the page's URL to add the new wiki's language abbreviation at the start of the URL and hit enter on your keyboard. You will now find yourself in the source editor for the same file in the new wiki.
  5. Paste from your clipboard. If there is already content there (e.g., default styles with comments in the new wiki's language), then do not overwrite that content. Instead, paste the English wiki's material below it, then search through that English material to find the comments and code that match the existing content, and delete that English material.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.