SharpScratchMod / locale

The sharp translations
MIT License
3 stars 1 forks source link

sharp-translations

The sharp translations

Reporting translation issues

Translation system

Please report this in the main Sharp repo (the editor)

Translation (English)

Please report this in the main Sharp repo (the editor)

Translation (Other language)

Report it in the issue for its language (even if the issue is closed report it in the issue)

What languages need translating?

Check the issues for a list of languages that need translating and are being translated

In issues, no one assigned

If you can assign yourself: start translating!

If you can't: request in the issue comments to be assigned!

Pull request the .po when you are ready

In issues, someone assigned

If you can assign yourself: start translating!

If you can't: request in the issue comments to be assigned!

Download the .po already in the repo and pull request it when you are ready

In issues, closed

Translation complete

When it is outdated it will be unclosed and a comment wil be posted (with @mentions to all assigned)

Not in issues

Create one title must be the language name in brackets the language code

The contents can be anything but will be replaced by the Sharp Team to place stats about the translation (like the % translated)

You can assign yourself if you can and start translating!

If you can't say so in a comment or in the main issue post and you will be assigned

Joke Languages

Currently, we only plan to add two joke languages based on Scratch's Meow and Edible Scratch

If you do have a good idea for one please create an issue IN THE MAIN SHARP REPO

We do not want many joke languages as they will fill the language drop down with too many useless languages

Creating a translation for a language

Poedit

https://poedit.net/

  1. Open Poedit
  2. Press "Create new translation"
  3. Select the Sharp.pot downloaded from this repo
  4. Select the language
  5. Save the .po file with the correct language code (normally the default)
  6. TRANSLATE! :D

Eazy Po

http://www.eazypo.ca/

  1. Open Eazy Po
  2. Press "Create a new translation catalog from document file"
  3. Select the source type as "Catalog file Po/Pot"
  4. Select the Sharp.pot downloaded from this repo as source file
  5. Press next
  6. Select target catalog type as Catalog file (Po)
  7. Set yourself as Last translator (name )
  8. Press the ... beside language and select the language
  9. Press next
  10. Select the save to as (correct language code).po
  11. Press finish
  12. TRANSLATE! :D

Updating the translation keys

Poedit

  1. Open Poedit
  2. Open the file
  3. Press Catalog->Update from POT file...
  4. Save file
  5. Select the new Sharp.pot downloaded from this repo
  6. Save the file
  7. UPDATE TRANSLATIONS! :D

Eazy Po

  1. Open Eazy Po
  2. Open the file
  3. Press Catalog->Update/merge from file...
  4. Select new Sharp.pot downloaded from this repo
  5. Press Start update...
  6. Press update
  7. File will be renamed (name).mrg.po