Update link to localization instructions, fix instructions formatting

This commit is contained in:
Ben Gotow 2018-10-07 23:03:45 -07:00
parent 9fc92feb41
commit f7ccf61186
2 changed files with 7 additions and 5 deletions

View file

@ -4,15 +4,15 @@ Mailspring 1.5 and above support localization - the app's menus, messages, butto
Providing localization in many languages is a challenge, and automatic translation often does a poor job of technical text. If you use your computer in another language and also speak English, contributing translations to Mailspring is a great way to impact the open source project.
##Contributing Localizations
## Contributing Localizations
####Option 1: Suggest Changes
#### Option 1: Suggest Changes
From within Mailspring, choose "Developer > Toggle Localizer Tools" from the menu. A yellow bar appears at the bottom of the window. From here, you can use the small "Inspect" button to click text in the window which is untranslated or poorly translated. Type a new translation and click "Submit"!
_Note: These translations are reviewed manually and a Mailspring maintainer will change the necessary files._
####Option 2: Submit a Pull Request
#### Option 2: Submit a Pull Request
If you have a GitHub account, you can improve the localization files directly and submit a Pull Request! If you're interested in providing many translations, or translating things like network error messages you may not ever see yourself, this is the best bet. It also means you'll be recognized as a Mailspring contributor and the Mailspring project will appear on your GitHub profile!
@ -33,7 +33,7 @@ The example above shows two examples of variable substitution. Some strings in M
If a string contains multiple placeholders, you can optionally reference the variables by index using the `%2$@` syntax. Using `2` means this placeholder should be replaced with the second placeholder in the English string. This allows you to change the order variables appear, which is important for languages like Japanese.
##Running Mailspring with a Specific Locale
## Running Mailspring with a Specific Locale
It can be useful to run Mailspring with a specific locale. To do this, pass the `lang` flag at launch. For example:

View file

@ -156,7 +156,9 @@ class SubmitLocalizationsBar extends React.Component {
'Have a GitHub account? Want to contibute many translations? Contribute directly via a Pull Request!'
)}
</span>
<a>Learn More</a>
<a href="https://github.com/Foundry376/Mailspring/blob/master/LOCALIZATION.md">
Learn More
</a>
</div>
</div>
);