Skip to content

Localization

Max edited this page Jun 14, 2025 · 16 revisions

Please Help!

SyncTrayzor is fully internationalized, and is looking for translators willing to give up an hour (or less) of their time to provide translations.

Note

The original SyncTrayzor had translations hosted on Transifex. Translations have since been moved to the main syncthing project on Weblate. Please do not edit the translations strings in this repository directly (except for bug fixing).

If you contribute to a language, please add yourself to the 'TranslatorAttributation' string. This will appear on the 'About' box if your translation is being used.

Formatting

SyncTrayzor uses SmartFormat.NET for formatting strings. This allows you to specify plurals, lists, etc, according to the rules of your language.

The SmartFormat.NET wiki has full documentation.

Note that SmartFormat v2 used to support aliases for formatter options, e.g. you could write either 'p' or 'plural' for the plural-formatter. This is no longer supported since SmartFormat v3, and you must use the appropriate formatter name.

There is no need to manually specify a language (e.g. {0:p(ru):банан|банана|бананов}) since SyncTrayzor adds this for you. Just use e.g. {0:p:банан|банана|бананов}.

Plurals

Plurals are specified using the syntax:

{ Index : p : singular | plural | more... }

Index singular plural more...
Index of the placeholder the singular text the plural text more plural forms

e.g. {0:p:1 file|{} files}

Lists

Lists are specified using the syntax:

{ Index : list : template | spacer | finalSpacer }

Index template spacer finalSpacer
Index of the placeholder required required optional
  • template will be repeated for each item
  • spacer will be added after each item except the last
  • finalSpacer if supplied, will replace the very final spacer

e.g. {0:list:{}|, |, and} (might produce 'file1, file2, and file3')

Process

  • Register a new account on Hosted Weblate, or sign in with your existing account
  • Select your language(s) on the SyncTrayzor component of the syncthing weblate project and start translating!

If you want to test a specific translation within SyncTrayzor, you can start it with the culture flag, e.g. SyncTrayzor.exe -culture=de or SyncTrayzor.exe -culture=fr-FR.

Contributors

Many thanks for everyone who's contributed towards the translation effort! You are:

The following languages have been removed, due to their completion falling below the 75% threshold:

Clone this wiki locally