Scratch Wiki > Translation > Translating Scratch
Table of contents
No headers

Questions? Please email help@scratch.mit.edu.

1. Register as a translator
reg2.png

1. Go to http://translate.scratch.mit.edu

2.
Click Register and complete the form

3.
Enter the code you were emailed in the Account Activation page

5
. Click Log in to log in to your account

2. Set user options

options.png

1. Once logged in, click the Change Options link at the bottom.

2. Choose Scratch in the list of My Projects

3. Choose your language* in the list of My Languages

*If you don't find your language, please email help@scratch.mit.edu to get it added.

4.
Click Save Changes

3. Translate Scratch in your language

show-editing.png

1. Go to http://translate.scratch.mit.edu

2. Click the All projects link and click on Scratch

3. Click on your language name in the list

4. Click Show Editing Functions

lang-options.png

To translate untranslated or 'fuzzy' (unclear) strings

1. Click Quick Translate

2. Click Submit to enter a translation or Skip to go to the next string

To edit existing translations

1. Click Translate All

2. Click Submit to enter a new translation or Skip to go to the next string

To commit completed translations

Only language administrators can commit files as finished.  If you would like to become a language administrator for your language for Scratch, please email help@scratch.mit.edu

Special Instructions
To set font formatting parameters

The first 7 entries in the translation dictionary are not meant to be translated.

Language-Name Language name as you'd like it to appear in the Scratch Languages menu. e.g. "Arabic"
Language-Direction Directionality of Language. e.g. "LTR" for left to right. e.g. "RTL" for right to left
Font-Scale Scale to apply to font size. e.g. "2" for twice as large
Supress-Bold For font legibility. e.g. "true" for no bold
Win/Mac/Linux-Font Font to use. e.g. "Simplified Arabic"

Translating blocks with multiple arguments

trans.pngFor translations with arguments of the form %a %b %c, if you switch the order of the arguments, and more than one letter is repeated, you must use a digit to specify the letter.

Example:

glide %n secs to x %n y %n

Becomes:

glide to x %n2 y %n3 in %n1 secs

          

Translate Scratch Without Contributing a Translation

1. Copy the Scratch.pot file in the /locale/ folder

2. Rename it to the appropriate language code for your language, with the extension .po (e.g. ar.po)

3. Translate all fields following the rules from above.

4. Make sure to put in your language name in the 'Language-Name' fied (e.g. Arabic)

5. Save the new file in the /locale/ folder

6. Open Scratch

7. Your language should now show up in Scratch's Language menu.


Tag page
You must login to post a comment.