⚠ NOTICE

The game has been released in Early Access on 26th of April, 2024.
Please keep in mind that any information provided on this Wiki may be incomplete or subject to change as the game progresses.

Help:Guide for translators: Difference between revisions

From Manor Lords Official Wiki
(Created page with "<languages/> == <translate><!--T:1--> Workflow</translate> == === <translate><!--T:2--> Ethics and Competence</translate> === <translate> <!--T:3--> When working on translations, adhere to the following principles of ethics and professionalism: # '''Preservation of In-Game Context:''' When translating texts, use official in-game names for buttons, mechanics, and other game elements, even if they may seem slightly out of place. This helps maintain the integrity of the ga...")
 
(added information about translating links)
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
== <translate><!--T:1--> Workflow</translate> ==
== <translate><!--T:1--> Workflow</translate> ==


=== <translate><!--T:2--> Ethics and Competence</translate> ===
=== <translate><!--T:2--> Ethics and competence</translate> ===
<translate>
<translate>
<!--T:3-->
<!--T:3-->
When working on translations, adhere to the following principles of ethics and professionalism:
When working on translations, adhere to the following principles of ethics and professionalism:
# '''Preservation of In-Game Context:''' When translating texts, use official in-game names for buttons, mechanics, and other game elements, even if they may seem slightly out of place. This helps maintain the integrity of the gaming experience for players.
# '''Preservation of in-game context:''' When translating texts, use official in-game names for buttons, mechanics, and other game elements, even if they may seem slightly out of place. This helps maintain the integrity of the gaming experience for players.


# '''Competence and Accuracy:''' Ensure that your translation corresponds to the meaning and context of the original text. Utilize your language and cultural knowledge for the most accurate reproduction of the original's meaning and style.
# '''Competence and accuracy:''' Ensure that your translation corresponds to the meaning and context of the original text. Utilize your language and cultural knowledge for the most accurate reproduction of the original's meaning and style.


# '''Content Exclusion:''' Do not add any content that contradicts platform policies or may be offensive or unacceptable to the audience. Before adding new content, ensure that it aligns with community standards and project rules.
# '''Content exclusion:''' Do not add any content that contradicts platform policies or may be offensive or unacceptable to the audience. Before adding new content, ensure that it aligns with community standards and project rules.


# '''Consultation and Feedback:''' In case of uncertainties or questions, seek advice from other translators or the project team. Open dialogue and feedback help create a high-quality and accurate translation.
# '''Consultation and feedback:''' In case of uncertainties or questions, seek advice from other translators or the project team. Open dialogue and feedback help create a high-quality and accurate translation.


Adhering to these principles will help create a quality and professional translation that meets the expectations and needs of the audience.
Adhering to these principles will help create a quality and professional translation that meets the expectations and needs of the audience.
</translate>
</translate>


=== <translate><!--T:4--> Tools and Resources</translate> ===
=== <translate><!--T:4--> Tools and resources</translate> ===
<translate>
<translate>
<!--T:5-->
<!--T:5-->
For efficient translator work in Manor Lords, it is recommended to use the following tools and resources:
For efficient translator work in Manor Lords, it is recommended to use the following tools and resources:
* '''Glossary Terminological Database:''' Creating and maintaining a glossary or terminological database will help ensure consistency in the translation of key terms.
* '''Glossary terminological database:''' Creating and maintaining a glossary or terminological database will help ensure consistency in the translation of key terms.
* '''Communication Tools:''' Use Discord Manor Lords for communication with other translators and project coordinators, in the #wiki chat.
* '''Communication tools:''' Use Manor Lords Discord for communication with other translators and project coordinators, in the #wiki chat.
</translate>
</translate>


=== <translate><!--T:6--> Quality Control</translate> ===
=== <translate><!--T:6--> Quality control</translate> ===
<translate>
<translate>
<!--T:7-->
<!--T:7-->
Providing high-quality translation requires a quality control system:
Providing high-quality translation requires a quality control system:
* '''Revision and Editing:''' After completing the translation, it is necessary to revise and edit the text to correct any errors and improve quality.
* '''Revision and editing:''' After completing the translation, it is necessary to revise and edit the text to correct any errors and improve quality.
* '''Feedback and Evaluation:''' The translation process should include mechanisms for feedback and evaluation, allowing translators to receive feedback from other project participants.
* '''Feedback and evaluation:''' The translation process should include mechanisms for feedback and evaluation, allowing translators to receive feedback from other project participants.
</translate>
</translate>


=== <translate><!--T:8--> Legal Aspects</translate> ===
=== <translate><!--T:8--> Legal aspects</translate> ===
<translate>
<translate>
<!--T:9-->
<!--T:9-->
Line 40: Line 40:
</translate>
</translate>


== <translate><!--T:10--> Pages - All You Need to Know About Them</translate> ==
== Translation process ==
Translation process consists of 3 steps. Translators are responsible '''only for the last one''', but you can read briefly how it works below.


=== <translate><!--T:11--> Creation</translate> ===
=== <translate><!--T:14--> Preparation for translation</translate> ===
<translate>
 
<!--T:12-->
<translate><!--T:15--> To enable translation of the page (and it's content) into other languages, Editors/Wiki-Custodians add the following tags on the newly created (and ready for translation) page. It can be done manually or using a special page [[Special:PagePreparation]]. </translate>
To create a page, enter the title of your page after the following link: ''hoodedhorse.com/wiki/Manor_Lords/'''Title_Here''', then press the Alt+Shift+E key combination or the ''Create'' button.
 
If you do it manually, add these to the new page:
* '''<nowiki><languages/></nowiki>''' - <translate><!--T:16--> At the beginning of the page. This tag will create a navigation bar, which will content a list of languages.</translate>
* '''<nowiki><translate></nowiki>'''<translate><!--T:17--> Text to be translated</translate>'''<nowiki></translate></nowiki>''' - <translate> These tags can encompass entire page, only selected areas of the page or even a single word. Main rule to follow: '''do not nest''' translation tags.</translate>


<!--T:13-->
<translate>Keep in mind that some pages should not have <nowiki><languages/></nowiki> tag (for example Templates), as this can display language navigation bar twice on some pages.</translate>
'''Note:'''
* The title should be in English, as well as the initial content on the page.
</translate>


=== <translate><!--T:14--> Preparation for Translation</translate> ===
=== <translate>Marking for translation</translate> ===
<translate><!--T:15--> To enable translation of the page (and its content) into other languages, add the following:</translate>
<translate>When the preparation step is done, Wiki-Custodian will see a new option on that particular page, option called '''"Mark page for translation"'''. From here, they can split the page into chunks and add special '''T-tags''' - all of this is happening automatically, but can be later adjusted in the source code. Each T-tag mark exact place where new translation chunk start. Please be very careful when you edit these tags manually.</translate>
* '''<nowiki><languages/></nowiki>''' - <translate><!--T:16--> At the beginning of the page</translate>
* '''<nowiki><translate></nowiki>'''<translate><!--T:17--> Text to be translated</translate>'''<nowiki></translate></nowiki>'''


<translate><!--T:18--> Also you can add </translate>'''<nowiki><!--T:n--></nowiki>''' <translate><!--T:32--> to attribute</translate> '''<nowiki><translate></nowiki>'''. <translate><!--T:33--> This is required to create a quality translation environment for your page.</translate>
<translate><!--T:33--> During this step, you can select all the languages the page can be translated into. It is advised you always select all the languages to which the main page is translated, and put a checkmark next to the option '''"Prevent translations to languages other than the priority languages"'''. This is the last necessary step to be performed, before the page can be translated. Regular editors won't be able to perform that action.</translate>


<translate>
<translate>
<!--T:19-->
<!--T:19-->
'''Note:'''
'''Explaining T-marks:'''
* '''n''' is a positive number, not less than 0.
* '''n''' is a positive number, not less than 0.
* The number '''n''' should not be repeated. (For example: You cannot have T:3 and T:3 on one page)
* The number '''n''' should not be repeated. (For example: You cannot have T:3 and T:3 on one page)
Line 68: Line 67:
<translate><!--T:36--> * There MUST ALWAYS be a space after </translate>'''<nowiki><!--T:n--></nowiki>'''. (<translate><!--T:37--> Example: </translate><nowiki><translate><!--T:1--></nowiki><translate><!--T:38--> Text to be translated</translate><nowiki></translate></nowiki>)
<translate><!--T:36--> * There MUST ALWAYS be a space after </translate>'''<nowiki><!--T:n--></nowiki>'''. (<translate><!--T:37--> Example: </translate><nowiki><translate><!--T:1--></nowiki><translate><!--T:38--> Text to be translated</translate><nowiki></translate></nowiki>)


=== <translate><!--T:20--> Specifics of Some Pages</translate> ===
=== <translate>Translating text</translate> ===
<translate>Translators primarily focus on this step. To begin translating, navigate to any page designated for translation and click '''"Translate this page"''' at the top. From there, choose your preferred language and proceed with the translation. If you encounter an unapproved/unsupported language notice after selection, reach out to JKM on Discord to request support for adding the new language.</translate>
 
=== <translate><!--T:20--> Translating graphics</translate> ===
<translate>
<translate>
<!--T:21-->
<!--T:21-->
* On the [[Game Setup|Game Setup]] page, you can change the screenshot of the new game creation window.
* On the [[Game setup|Game setup]] page, you can see an example, how to use translation tags in order to change a screenshot or other graphics, displaing text in your own language.
</translate>
 
=== <translate><!--T:20--> Translating links </translate> ===
<translate>
Please be careful when translating links. If you translate something and the link breaks, undo your edit or seek assistance from the wiki team. When encountering a link to another page, only translate the blue part, as shown in the example below. The way links work may change in the future, if that happens, this guide will also be updated accordingly.
 
[[<b style='color:green'><nowiki>{{tl}}</nowiki></b><b style='color:red'>Forager hut</b>|<b style='color:blue'><nowiki>forager hut</nowiki></b>]]
</translate>
</translate>


== <translate><!--T:22--> Files</translate> ==
== <translate><!--T:22--> Uploading files</translate> ==
<translate>
<translate>
<!--T:23-->
<!--T:23-->
To upload a file, you need to go to the [[Special:Upload|File Uploads]] page and upload your file, after which you can use it anywhere.
To upload a file, you need to go to the [[Special:Upload|File Uploads]] page and upload your file, after which you can use it anywhere.
Please try to avoid special characters and whitespaces in the names. Use underscore sign or capitalise first letter of the separate words (for example: Burgage_plot or BurgagePlot).
</translate>
</translate>


Line 106: Line 116:


<!--T:34-->
<!--T:34-->
* If there's a glitch in your translation because of the links, remove https, and then ask JKM to add https.
* If you encounter "an urecognized error" during translating a chunk with external links - it's a security measure. Remove '''https''', click '''Publish''', and then report it to JKM.
** Don't forget to provide the translation ID.
** Please provide language code and page name.
** Translation chunk ID would be useful, but isn't necessary.
</translate>
</translate>

Latest revision as of 14:25, 12 May 2024

Workflow

Ethics and competence

When working on translations, adhere to the following principles of ethics and professionalism:

  1. Preservation of in-game context: When translating texts, use official in-game names for buttons, mechanics, and other game elements, even if they may seem slightly out of place. This helps maintain the integrity of the gaming experience for players.
  1. Competence and accuracy: Ensure that your translation corresponds to the meaning and context of the original text. Utilize your language and cultural knowledge for the most accurate reproduction of the original's meaning and style.
  1. Content exclusion: Do not add any content that contradicts platform policies or may be offensive or unacceptable to the audience. Before adding new content, ensure that it aligns with community standards and project rules.
  1. Consultation and feedback: In case of uncertainties or questions, seek advice from other translators or the project team. Open dialogue and feedback help create a high-quality and accurate translation.

Adhering to these principles will help create a quality and professional translation that meets the expectations and needs of the audience.

Tools and resources

For efficient translator work in Manor Lords, it is recommended to use the following tools and resources:

  • Glossary terminological database: Creating and maintaining a glossary or terminological database will help ensure consistency in the translation of key terms.
  • Communication tools: Use Manor Lords Discord for communication with other translators and project coordinators, in the #wiki chat.

Quality control

Providing high-quality translation requires a quality control system:

  • Revision and editing: After completing the translation, it is necessary to revise and edit the text to correct any errors and improve quality.
  • Feedback and evaluation: The translation process should include mechanisms for feedback and evaluation, allowing translators to receive feedback from other project participants.

Legal aspects

When working with content, it is important to consider the following legal aspects:

  • Copyright: Ensure that your translation does not infringe on the copyrights of the original content.

Translation process

Translation process consists of 3 steps. Translators are responsible only for the last one, but you can read briefly how it works below.

Preparation for translation

To enable translation of the page (and it's content) into other languages, Editors/Wiki-Custodians add the following tags on the newly created (and ready for translation) page. It can be done manually or using a special page Special:PagePreparation.

If you do it manually, add these to the new page:

  • <languages/> - At the beginning of the page. This tag will create a navigation bar, which will content a list of languages.
  • <translate>Text to be translated</translate> - These tags can encompass entire page, only selected areas of the page or even a single word. Main rule to follow: do not nest translation tags.

Keep in mind that some pages should not have <languages/> tag (for example Templates), as this can display language navigation bar twice on some pages.

Marking for translation

When the preparation step is done, Wiki-Custodian will see a new option on that particular page, option called "Mark page for translation". From here, they can split the page into chunks and add special T-tags - all of this is happening automatically, but can be later adjusted in the source code. Each T-tag mark exact place where new translation chunk start. Please be very careful when you edit these tags manually.

During this step, you can select all the languages the page can be translated into. It is advised you always select all the languages to which the main page is translated, and put a checkmark next to the option "Prevent translations to languages other than the priority languages". This is the last necessary step to be performed, before the page can be translated. Regular editors won't be able to perform that action.

Explaining T-marks:

  • n is a positive number, not less than 0.
  • The number n should not be repeated. (For example: You cannot have T:3 and T:3 on one page)
  • T:n should be sequential, so you should have 1, 2, 3, 4, 5. If this rule is not followed, there may be errors and confusion.
  • There MUST ALWAYS be a space after <!--T:n-->. (Example: <translate><!--T:1-->Text to be translated</translate>)

Translating text

Translators primarily focus on this step. To begin translating, navigate to any page designated for translation and click "Translate this page" at the top. From there, choose your preferred language and proceed with the translation. If you encounter an unapproved/unsupported language notice after selection, reach out to JKM on Discord to request support for adding the new language.

Translating graphics

  • On the Game setup page, you can see an example, how to use translation tags in order to change a screenshot or other graphics, displaing text in your own language.

Translating links

Please be careful when translating links. If you translate something and the link breaks, undo your edit or seek assistance from the wiki team. When encountering a link to another page, only translate the blue part, as shown in the example below. The way links work may change in the future, if that happens, this guide will also be updated accordingly.

[[{{tl}}Forager hut|forager hut]]

Uploading files

To upload a file, you need to go to the File Uploads page and upload your file, after which you can use it anywhere. Please try to avoid special characters and whitespaces in the names. Use underscore sign or capitalise first letter of the separate words (for example: Burgage_plot or BurgagePlot).

Recommendations

  • Use Paste source text to preserve the original formatting.

  • Use hoodedhorse.com/wiki/Manor_Lords/Special:LanguageStats?x=D&language=XXXXXX to understand which pages have not yet been translated, or where new translations are needed.
    • XXXXXX - language code (en, ru, fr, de, etc.)
    • If you see a page with Completion below 100% or a page with Outdated > 0%, it means there is something to translate.

There you will see which pages are released to be translated and what is the completion of them in your language. If you see a page with Completion below 100% or a page with Outdated > 0%, that means there is something to translate

  • Make notes/documentation for translation in the language you are translating.
    • This will help other translators who are working with you.
  • Provide descriptions of changes in English.
    • So moderators and all translators can understand why and what might need to be changed as well.
  • Don't hesitate to seek advice from other translators.
  • If you encounter "an urecognized error" during translating a chunk with external links - it's a security measure. Remove https, click Publish, and then report it to JKM.
    • Please provide language code and page name.
    • Translation chunk ID would be useful, but isn't necessary.