Please sign in to see the alerts.

Overview

Project website forge-vtt.com
Instructions for translators

Fight Goblins, not Servers™

Thank you for contributing to The Forge's translation effort!

The Forge uses a combination of keys and gettext-like strings as translation keys.
Because we use different frameworks from Foundry VTT, the strings in this project may appear unusual. Please read through the instructions and examples given here below before starting your translations.
You can also contact us on our Discord or via [email protected] if you have any questions.

Available Languages

Because of the number of strings involved, we will only be translating into specific languages at this time.
Currently, these are English, French, Japanese, Spanish, and German. If you'd like your language to be supported, please give us a shout in the #feature-suggestions channel on our Discord.

Language Switching

It is possible to view The Forge's site in your own language, to see what a string looks like in its natural habitat.
To do so, go to the My Account page and select a language from the dropdown.
You can also use the profile dropdown menu on the top right when logged in.
If you're logged out, the language selection dropdown will appear directly on the top right of the navigation bar, next to the login button.

Interpolation

{{ and {{- are interpolation prefixes, and }} is an interpolation suffix.
Where you encounter these interpolation markers, treat the prefix and the suffix, and everything between them, as a word that should not be translated.
Make sure to keep the same prefix as the source string.
For example:
"The goblin ate my {{homework}}." -> "Le gobelin a mangé mon {{homework}}."
"The goblin ate my {{- homework}}." -> "Le gobelin a mangé mon {{- homework}}."

Component Interpolation

{ and } are component interpolation markers. They have the same rules as regular interpolation markers and can be a word or a number:{book}, {package}, or {0}, {1}, {2}, etc.
Numbers indicate that a numbered component will be inserted there. Treat them the same way you would treat regular interpolation markers.
For example:
"The {0} ate my {1}." -> "Le {0} a mangé mon {1}."
"The {creature} ate my {item}." -> "Le {creature} a mangé mon {item}."

Context

Sometimes it is useful to have different forms of the same string. In such cases, a specific _context will be added after an underscore at the end of a key. When you see this, use the context to inform your translation.

Plurals

Plurals are like a special context, where the context specifies an amount. For some languages, simply having a singular_one and plural _othertranslation is sufficient, but other options like _many, _few, _zero and more are possible.
Some languages may have more complicated plural forms than English. If a string doesn't translate well into one of the keys available, please let us know by commenting on that string.
For example:
"GOBLIN_one": "{{count}} goblin" -> "GOBLIN_one": "{{count}} gobelin"
"GOBLIN_other": "{{count}} goblins" -> "GOBLIN_other": "{{count}} gobelins"
"GOBLIN_many": "a lot of goblins" -> "GOBLIN_many": "beaucoup de gobelins"

Nesting

This is rare, but sometimes we reference one string from inside of a different one. This can be particularly helpful when combined with plurals.
$t( and )are the nesting prefix and suffix. If you encounter them, treat the prefix and the suffix, and everything between them (including other markers), as a word that should not be translated.
For example:
"There, in the distance! I see $t(GOBLIN, {\"count\": {{hordeSize}} })!" -> Là, au loin ! Je vois $t(GOBLIN, {\"count\": {{hordeSize}} }) !

Consistency

Please maintain consistency with the source language, English, as much as possible, and reference the accompanying glossary information to ensure consistency between components.

Project maintainers User avatar kakaroto User avatar rikmarais
Translation license MIT License
Translation process
  • Translations can be made directly.
  • Translation suggestions can be made.
  • Any authenticated user can contribute.
  • The translation uses monolingual files.
  • The translation base language is editable.
Source code repository https://github.com/ForgeVTT/forge-translations.git
Repository branch main
Last remote commit Update translations 06d941d
MJ authored 6 days ago
Last commit in Weblate Translated using Weblate (Portuguese (Brazil) (pt-BR)) f3fc7c6
User avatar antoniohbmonteiro authored 3 weeks ago
Weblate repository https://weblate.foundryvtt-hub.com/git/the-forge/common/
File mask locales/*/common.json
Monolingual base language file locales/en/common.json

String statistics

Strings percent Hosted strings Words percent Hosted words Characters percent Hosted characters
Total 2,040 3,366 23,022
Source 340 561 3,837
Translated 52% 1,070 58% 1,955 58% 13,376
Needs editing 14% 286 15% 520 14% 3,368
Read-only 0% 0 0% 0 0% 0
Failing checks 8% 176 10% 350 11% 2,543
Strings with suggestions 2% 43 1% 66 2% 500
Untranslated strings 33% 684 26% 891 27% 6,278

Quick numbers

3,366
Hosted words
2,040
Hosted strings
52%
Translated
and previous 30 days

Trends of last 30 days

+1%
Hosted words
+100%
+1%
Hosted strings
+100%
+1%
Translated
+51%
+50%
Contributors
+100%
User avatar None

Rebased repository

The Forge / Common

Rebased repository 6 days ago
User avatar None

Received repository notification

The Forge / Common

GitHub: https://github.com/ForgeVTT/forge-translations, main 6 days ago
User avatar None

Pushed changes

The Forge / Common

Pushed changes 8 days ago
User avatar None

Rebased repository

The Forge / Common

Rebased repository 8 days ago
User avatar None

Received repository notification

The Forge / Common

GitHub: https://github.com/ForgeVTT/forge-translations, main 8 days ago
User avatar None

Pushed changes

The Forge / Common

Pushed changes 8 days ago
User avatar None

Rebased repository

The Forge / Common

Rebased repository 8 days ago
User avatar None

Received repository notification

The Forge / Common

GitHub: https://github.com/ForgeVTT/forge-translations, main 8 days ago
User avatar None

Rebased repository

The Forge / Common

Rebased repository 2 weeks ago
User avatar None

Received repository notification

The Forge / Common

GitHub: https://github.com/ForgeVTT/forge-translations, main 2 weeks ago
Browse all component changes