Skip to content
Christian Fillion edited this page Mar 1, 2017 · 11 revisions

Summary

  1. Propose a change
  2. Update LangPacks to current REAPER version

Propose a change

Here are the steps to modify a langpack on this repository using GitHub (a free account is required):

Review (gif)

  • Click on the Fork button at the top right of https://github.com/ReaTeam/LangPacks to create a new personal working copy of the repository (called a fork). Notice the URL becomes https://github.com/YourUsername/LangPacks.
    Fork

  • Browse to the Translations folder and download the desired ReaperLangPack file. Edit as you wish on your computer then click on Upload files (still from the Translations folder). Drag and drop the edited file into the window and validate.
    Upload files

  • Click on the Pull request link at the right then on Create pull request. Write a short summary of your changes and validate. An authorised ReaTeam contributor will soon publish the proposed change (usually for the next REAPER release).
    Pull request

  • Next time, before making another change: go the the tab Settings of your fork and click on Delete this repository. This step is necessary to avoid making your changes on an old version of the langpack.

Update LangPacks to current REAPER Version

With new updates of REAPER come langpack strings addition, and sometimes deletion. To update a LangPack to current REAPER version, you have to use a command line tool (cmd.exe on Windows or the Terminal on MacOS / Linux), and a LangPack template file provided by Cockos, or even Git Shell.

  1. Go to http://www.landoleet.org/i8n/
  2. If is not already done, download the merge_langpacks tool according to you Operating System. Eg: for Windows, it is merge_langpacks.exe.
  3. Download the last template version Avaible. Eg: template_reaper532rc1.ReaperLangPack. It may not match the last REAPER version. If it does not, then go back later. It can take a bit of time. Ask Cockos to update the template file if you need.
  4. Put the merge_lanpacks, the LangPack template and your LangPack (which you want to update) in a same directory.
  5. Using a Command Line Tool, browse to the directory (cd path command)
  6. Run the tool by enter merge_langpacks template_reaper.ReaperLangPack mylanguage.ReaperLangPack > newlanguage.ReaperLangPack (replace files names so that it match yours).
  7. A new file newlanguage.ReaperLangPack is created: it is the results of the merging!

ReaperLangPack Syntax

  • ; at line start means that the string is untranslated
  • ;^ at line start means the string is already translated in [common] section, but you can overide the translation here localy.

##Tools You can use any code editor to translate ReaperLangPacks.

On Windows, you can use NotePad++ and the X-Raym ReaperLangPack Color Syntax to make the translation easier.

Clone this wiki locally