Skip to content

How to Contribute to PasteBar Localization (Add Languages or Improve Translations) #133

Open
@kurdin

Description

How to Contribute to PasteBar Localization

Help improve PasteBar's language support by contributing to our localization efforts. Here's how:

  1. Fork the Repository: Visit PasteBar Localization and click "Fork".

  2. Clone Your Fork:

    git clone https://github.com/your-username/pastebar-localization.git
    
  3. Create a Branch:

    git checkout -b your-branch-name
    
  4. Make Changes:

    • To fix translations: Edit YAML files in the language folder (e.g., de/common.yaml).
    • To add a language: Copy en folder, rename to language code, translate content.
  5. Add Localization Support for Native Menus

    If you are adding a new translation to the repository, make sure to also add a section for your language in the
    services/translations/translations.yaml file. This will ensure that native menus are localized properly.

  6. Commit and Push:

    git add .
    git commit -m "Describe your changes"
    git push origin your-branch-name
    
  7. Create Pull Request: Go to the original repo and create a PR from your branch.

Guidelines:

  • Only change values, not keys
  • Ensure translations are accurate and consistent
  • Don't alter file structure without discussion
  • Open an issue for questions

For more details please see: https://github.com/PasteBar/pastebar-localization/blob/main/README.md

Your contributions help make PasteBar accessible to users worldwide. Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions