Skip to content

Commit 329568a

Browse files
committed
docs(Contributing): update for translation changes
1 parent 3eb6f2a commit 329568a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ You are free to use any style you want, except in these cases:
186186
## Translations
187187

188188
- The primary language for all labels is English (US) (`includes/lib/translations/en-US.lua`).
189-
- To add a new language, add its name and ISO code to `includes/lib/translations/__locales.lua`.
189+
- To add a new language, add its ISO code to `includes/lib/translations/__locales.lua`.
190190
- To add a new label, update `/lib/translations/en-US.lua`.
191191
- All other language files will be automatically generated via GitHub Actions.
192192

@@ -215,12 +215,12 @@ Suppose you want to draw some text that gets automatically translated:
215215
#### Adding A New Language
216216

217217
1. Open `includes/lib/translations/__locales.lua`.
218-
2. Add a new language dictionary `{ name, iso }`:
218+
2. Add a new language iso to the array:
219219

220220
```lua
221221
return {
222-
..., -- pre-existing tables
223-
{ name = "Türkçe", iso = "tr-TR" }, -- Your new language
222+
..., -- pre-existing strings
223+
"tr-TR", -- Your new language
224224
}
225225
```
226226

0 commit comments

Comments
 (0)