Skip to content
Permalink
Browse files

Update README.md

  • Loading branch information...
jckpn committed Aug 20, 2019
1 parent b664f22 commit 8809cb50f47551e88b007a70ff8bc89c366221f6
Showing with 9 additions and 3 deletions.
  1. +9 −3 README.md
@@ -13,16 +13,22 @@ Say you wanted to add the translation for "All apps" in German, as you noticed i
1. Open `translations/german.dart`
2. Ctrl+F to find the line which handles translation for "All apps":

`if (text == "All apps") return text;`
```
case "All apps":
return text;
```

3. `return text` indicates the translation is missing. To add your new translation, replace `text` with the correct translation in quotation marks (`""`):

`if (text == "All apps") return "Alle Apps";`
```
case "All apps":
return "Alle Apps";
```

4. Then just submit a pull request with your changes to the GitHub repo.

# Thanks

Thank you for your help -- any and all contributions are greatly appreciated!

~ jckpn
`- jckpn`

0 comments on commit 8809cb5

Please sign in to comment.
You can’t perform that action at this time.