-
-
Notifications
You must be signed in to change notification settings - Fork 2
Localization
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.
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 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 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')
- 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
.
Many thanks for everyone who's contributed towards the translation effort! You are:
- Chinese (China)
- Czech:
- Dutch:
- French:
- German:
- Greek:
- Hungarian (Hungary)
- Italian (Italy):
- Japanese
- Portuguese (Brazil)
- Russian:
- Spanish (Spain):
The following languages have been removed, due to their completion falling below the 75% threshold:
- Slovak:
- Catalan (Valencia)