Skip to content

Contributing Translations

Thank you for your interest in translating the TrucklineMP documentation! This guide explains how to contribute translations, what standards we expect, and how to submit your work.

TrucklineMP is a global community. Translating our documentation helps players and VTC managers around the world understand how to use the platform in their native language. Good translations make the platform more accessible and welcoming.

Want to contribute or have questions about translation? Join our dedicated contributors Discord server:

https://discord.gg/jsuGrx4Rbv

This is the place to connect with other translators, ask questions, and coordinate work on the documentation.

Every documentation page carries two frontmatter fields:

---
title: Example Page
description: ...
version: 1.2.0
lastUpdated: 2026-07-09
---
  • version identifies the content revision of the page. When the English page changes meaningfully, its version is bumped.
  • lastUpdated is the date the file was last edited.

When you translate or update a translation, copy the version from the current English page and set lastUpdated to today’s date. A translation whose version matches the English page shows as Current on the Translation Status page; a mismatch shows as Outdated and displays a notice banner on the translated page. Both fields are required - the CI check will fail a pull request that omits them.

LocaleLanguageStatus
enEnglishSource language, always complete
ruРусский (Russian)Community translations accepted, largely complete
deDeutsch (German)Community translations accepted
taதமிழ் (Tamil)Community translations accepted
trTürkçe (Turkish)Community translations accepted
plPolski (Polish)Community translations accepted
frFrançais (French)Community translations accepted

Check the Translation Status page for the current state of each locale. You are not limited to the languages above - you can translate the documentation into any language you are fluent in. If your language isn’t listed, follow the “Adding a New Language” section below and contact the team so we can add the locale.


TrucklineMP documentation is built with Astro Starlight, which has built-in internationalization (i18n) support.

Translations live in locale-specific folders under src/content/docs/. Content is organized into modules (web-docs/, web-api/, game-docs/, game-sdk/), each translated the same way:

src/content/docs/
├── index.mdx # English homepage
├── web-docs/
│ ├── vtc-programs/
│ │ ├── verified.mdx # English guide
│ │ └── ...
│ └── ...
└── pl/ # Polish locale folder
├── index.mdx # Polish homepage
└── web-docs/
├── vtc-programs/
│ ├── verified.mdx # Polish translation
│ └── ...
└── ...
  • English: https://docs.trucklinemp.com/web-docs/vtc-programs/verified/
  • Russian: https://docs.trucklinemp.com/ru/web-docs/vtc-programs/verified/
  • German: https://docs.trucklinemp.com/de/web-docs/vtc-programs/verified/
  • Tamil: https://docs.trucklinemp.com/ta/web-docs/vtc-programs/verified/
  • Turkish: https://docs.trucklinemp.com/tr/web-docs/vtc-programs/verified/
  • Polish: https://docs.trucklinemp.com/pl/web-docs/vtc-programs/verified/
  • French: https://docs.trucklinemp.com/fr/web-docs/vtc-programs/verified/

The language selector in the top-right corner lets users switch between available languages.


All .mdx files under src/content/docs/web-docs/, web-api/, game-docs/, and game-sdk/ can be translated. Each English guide should have a matching file in the target locale folder.

The index.mdx splash page should also be translated to welcome users in their language.

Sidebar labels are configured per module in astro.config.mjs (via starlightSidebarTopics) and support translations:

starlightSidebarTopics([
{
label: 'Web Docs',
link: 'web-docs/vtc/creating',
items: [
{
label: 'VTC Programs',
items: [
{
slug: 'web-docs/vtc-programs/verified',
label: 'Verified VTC Program',
translations: {
pl: 'Zweryfikowany Program VTC',
},
},
],
},
],
},
// ... Web API, Game Docs, Game SDK
])

When translating, add your language’s label to the translations object.

Some Starlight UI labels (like “On this page”, “Edit page”, “Search”) are handled by Starlight’s built-in translation system. If a language isn’t fully supported by Starlight, we can add custom UI translations in the configuration.


  • A GitHub account
  • Basic understanding of Markdown and MDX
  • Fluency in both English and the target language
  • Familiarity with TrucklineMP terminology (VTC, convoy, etc.)
  • A good text editor (VS Code, Cursor, etc.)
  • Markdown preview extension
  • Git installed locally (or use GitHub’s web interface)

  1. Go to the docs repository on GitHub
  2. Click Fork in the top-right corner
  3. Clone your fork locally or work in the GitHub web interface

To preview your translations, open a pull request and use the automatic preview deployment generated for your branch. A preview link appears on the pull request once the build finishes.

Check the current translation status and pick a guide that hasn’t been translated yet or needs updating. Priority guides include:

  1. Verified VTC Program
  2. Partnered VTC Program
  3. VTC General Settings
  4. Profile Settings
  5. Account Security
  1. Find the English source file (e.g., src/content/docs/web-docs/vtc-programs/verified.mdx)
  2. Create the matching file in the target locale folder (e.g., src/content/docs/pl/web-docs/vtc-programs/verified.mdx)
  3. Copy the frontmatter and translate the content

The frontmatter must keep the same structure. Only translate the values:

---
title: Verified VTC Program Rules
description: Complete guide to the Truckline Verified VTC Program - how to apply, requirements, and rules for maintaining verified status.
---

Polish example:

---
title: Zasady Programu Zweryfikowanych VTC
description: Pełny przewodnik po Programie Zweryfikowanych VTC Truckline - jak aplikować, wymagania i zasady utrzymania statusu zweryfikowanego.
---

Open astro.config.mjs and add translations for the guides you’ve translated:

{
slug: 'web-docs/vtc-programs/verified',
label: 'Verified VTC Program',
translations: {
pl: 'Zweryfikowany Program VTC',
},
},

Open the preview deployment link from your pull request and navigate to the translated page, for example /pl/web-docs/vtc-programs/verified/.

Check that:

  • All content is translated
  • Links work correctly
  • Formatting is preserved
  • Images display properly
  • The sidebar labels are translated
  1. Commit your changes with a clear message:
    docs(pl): translate verified VTC program guide
  2. Push to your fork
  3. Open a pull request to the main branch of the original repository
  4. Describe what you translated and any notes for reviewers

  • Translate the meaning, not word-for-word
  • Preserve technical accuracy
  • Keep formatting, links, and structure identical to the source
  • Match the original tone (professional but approachable)
  • Use inclusive language
  • Avoid overly casual expressions unless used in the source

Use consistent translations for key TrucklineMP terms. When in doubt, keep the English term in parentheses on first use:

EnglishPolish Suggestion
Virtual Trucking Company (VTC)Wirtualna Firma Transportowa (VTC)
VerifiedZweryfikowany
PartneredPartnerski
MemberCzłonek
RoleRola
RecruitmentRekrutacja
ProfileProfil
Two-Factor AuthenticationUwierzytelnianie Dwuskładnikowe

Do not translate:

  • URLs
  • File paths
  • Code snippets
  • Email addresses
  • Discord invite links
  • Technical parameter names
  • Internal links should point to the translated version when available
  • Example: /web-docs/vtc-programs/verified//pl/web-docs/vtc-programs/verified/
  • External links should remain unchanged
  • Do not translate image filenames
  • Alt text should be translated
  • If a screenshot contains text, consider providing a localized version

Before submitting your translation, verify:

  • The frontmatter is preserved and translated
  • All headings are translated
  • All body text is translated
  • Links point to the correct locale
  • Code blocks and URLs are unchanged
  • Sidebar labels are updated in astro.config.mjs
  • The page renders correctly in the pull request preview
  • No broken formatting or Markdown errors
  • Terminology is consistent throughout

When the English source is updated, translations may become outdated. Help keep them current by:

  1. Checking the English source for changes
  2. Applying the same changes to translated files
  3. Updating the frontmatter if needed
  4. Submitting a pull request with a clear description

You can translate the documentation into any language. If your language isn’t currently supported, you can add it.

  1. Contact the team on Discord to let us know you’re working on a new language
  2. We’ll add the locale to astro.config.mjs
  3. Create the locale folder under src/content/docs/ (e.g., de/ for German)
  4. Translate the core guides
  5. Submit a pull request

There is no strict requirement on how many guides to translate before adding a new language, but we recommend starting with at least:

  • Homepage (index.mdx)
  • Verified VTC Program
  • Partnered VTC Program
  • VTC General Settings
  • Profile Settings

New locales are added in astro.config.mjs:

locales: {
root: {
label: 'English',
lang: 'en',
},
pl: {
label: 'Polski',
lang: 'pl',
},
de: {
label: 'Deutsch',
lang: 'de',
},
fr: {
label: 'Français',
lang: 'fr',
},
ru: {
label: 'Русский',
lang: 'ru',
},
ta: {
label: 'தமிழ்',
lang: 'ta',
},
tr: {
label: 'Türkçe',
lang: 'tr',
},
},

Make sure to use the correct BCP 47 language tag for your locale.


No /pl/przewodniki/zweryfikowany-program-vtc/
Yes /pl/web-docs/vtc-programs/verified/

No Missing title or description
Yes Complete frontmatter in the target language

No Using “weryfikacja” in one place and “zweryfikowanie” in another
Yes Consistent term throughout

No Removing # from headings or breaking tables
Yes Preserving all Markdown formatting


If you have questions about translating:

  • Discord: https://discord.gg/trucklinemp
  • GitHub Issues: Open an issue in the docs repository
  • Pull Request Discussion: Comment on existing PRs for feedback

Translators and contributors are credited on the Contributors page. Thank you for helping make TrucklineMP accessible to everyone!