Difference between revisions of "Translating SourceMod"

From AlliedModders Wiki
Jump to: navigation, search
(Update translation workflow)
(Encourage validation)
Line 10: Line 10:
 
*Check the phrase in the english translation files.
 
*Check the phrase in the english translation files.
 
**Optionally, lookup how the phrase is used in [https://github.com/alliedmodders/sourcemod/tree/master/plugins the plugins].
 
**Optionally, lookup how the phrase is used in [https://github.com/alliedmodders/sourcemod/tree/master/plugins the plugins].
*Update the correct phrases file with your translation.
+
*Update the correct phrases file with your translation. You don't have to do all phrases at once!
 
*[https://docs.github.com/de/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request Open a pull request] with your changes.
 
*[https://docs.github.com/de/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request Open a pull request] with your changes.
  
 
Anyone is free to translate SourceMod at their leisure -- contributions are greatly appreciated!
 
Anyone is free to translate SourceMod at their leisure -- contributions are greatly appreciated!
 +
 +
=Validating translations=
 +
You're welcome to look at other translations the community suggested and leave your opinion on better wording. Check the [https://github.com/alliedmodders/sourcemod/labels/i18n list of pending changes] and comment on the languages you know.

Revision as of 06:56, 30 March 2023

SourceMod translation phrases are included with the source code in the git repository. Anyone can create a pull request to suggest a change to the translation phrases.

The status and progress of each language is tracked through a Github Translation Project, which is updated automatically every time the phrases change in the repository.

Contributing

If you want to contribute to a translation in SourceMod, the workflow is as follows:

  • Look at what needs to be done for your language in the Translation project.
    • Click on the language name in the card to open a detailed view.
  • Create a fork of the SourceMod repository.
  • Check the phrase in the english translation files.
    • Optionally, lookup how the phrase is used in the plugins.
  • Update the correct phrases file with your translation. You don't have to do all phrases at once!
  • Open a pull request with your changes.

Anyone is free to translate SourceMod at their leisure -- contributions are greatly appreciated!

Validating translations

You're welcome to look at other translations the community suggested and leave your opinion on better wording. Check the list of pending changes and comment on the languages you know.