All translations of Affinitweet.
- Create a
[your_locale].json
file in thelocales
folder - Copy and paste an existing translation file in your new file
- Translate existing values to your language
- Don't forget to add and translate your language name in other files
- Send a pull request, wait for approbation and merge
You'll be credited on Affinitweet below your translation if you want to appear as a contributor.
- Go to
[your_locale].json
file in thelocales
folder - Edit/update existing translation file
- Send a pull request, wait for approbation and merge
{
"__translation": {
"author": "Thomas Reichling",
"language": "english",
"locale": "en",
"flag": "data:image/svg+xml;utf8;base64,PD94bWwgdmVy..."
}
}
author
: name/username that'll be displayed on Affinitweetlanguage
: official name of the language in englishlocale
: official letter country codeflag
: raw SVG country flag (base64, see here)
{
"account": "My account",
"clearHistory": "Clear my history",
"profile": {
"username": "Your username"
}
}
Here you have to translate "My account
", "Clear my history
" and "Your username
".
Don't change "account
", "clearHistory
", "profile
" and "username
".
- Don't translate strings between brackets like
{{something}}
, it's variable - You don't have to translate the name of the features (ex:
Valentine
,Secret Crush
...) - The
seconds
value corresponds to0 (second) | 1 (second) | 2+ (seconds)
- If you have a
space
in front of the:
in your language, don't forget it - Be careful with punctuation, upper and lower case letters (especially at the start and end of the string)
- If you're using another date format in your country, update the order of
{{day}}/{{month}}/{{year}}
Thank you for your help ❤️