Skip to content

Commit f42d826

Browse files
authored
Update assorted-apis.md
1 parent b17273c commit f42d826

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/development/extensions/assorted-apis.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ While the block's shape will look similar to "stop this script" and "stop all",
9292

9393
<ExtensionCode title="terminal">{require("!raw-loader!@site/static/example-extensions/terminal.js")}</ExtensionCode>
9494

95+
## Translations
96+
Use the `Scratch.translate()` API to translate text for use in block text and extension names. This is NOT the same as the Translate extension from Scratch; `Scratch.translate()` does not use the Internet and exclusively uses man-made translations.
97+
98+
`Scratch.translate()` is not intended for translating user input and will leave most user-generated text untranslated.
99+
100+
If you want to help translate text from your extension, [click here](https://docs.turbowarp.org/translate).
101+
95102
## Next steps
96103

97104
Next, let's see [how to make blocks like "when I receive" or "when timer greater than".](./hats)

0 commit comments

Comments
 (0)