Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kurdin opened this issue Aug 14, 2024 · 0 comments

Comments

@kurdin
Copy link
Contributor

kurdin commented Aug 14, 2024

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!

@kurdin kurdin pinned this issue Aug 14, 2024
@kurdin kurdin changed the title How to Contribute to PasteBar Localization (Add New Languages or Improve Existing Translations) How to Contribute to PasteBar Localization (Add Languages or Improve Translations) Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant