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

docs: Fetching translation from Weblate reworked #9275

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

comradekingu
Copy link
Contributor

Proposed changes

Checklist

  • Lint and unit tests pass locally with my changes.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added documentation to describe my feature.
  • I have squashed my commits into logic units.
  • I have described the changes in the commit messages.

Other information

developing the code. You might want to introduce review of those strings using
Monolingual formats need to be configured so that new strings are added to
:ref:`component-template`. This is typically done by developers as they
develop the code. You might want to introduce review of those strings using
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
develop the code. You might want to introduce review of those strings using
develop the code.
You might want to introduce review of those strings in Weblate using

?

should also cover :ref:`avoid-merge-conflicts`.
Integrate this into your contrinuous-integration pipelines
if you want new strings to appear automatically for translation.
Such a pipeline should also cover :ref:`avoid-merge-conflicts`.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this means the user is covered, or need to attend to it themselves?


Weblate stores all translation the version control repository. It can be either
connected to upstream one, or it can be only internal. The :guilabel:`Repository
maintenance` lets you manipulate with the repository.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This "manipulate with the repository" is very strange, so it might be my take is off.)

translations. It does not however perform any automatic cleanup of stale
strings as that might have unexpected outcomes. If you want to do this, please
install :ref:`addon-weblate.cleanup.generic` add-on which will handle the
strings not present in the :ref:`component-template`, or other translations.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I don't understand "and not in actual translations" at all, so my take is likely off here.)

@@ -116,24 +118,24 @@ Introducing new strings
+++++++++++++++++++++++

You can add new strings in Weblate with :ref:`component-manage_units` turned
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does having it on allow adding strings (correct now), or does that add strings btw.?

"When it is on"? Is it off by default? Manually? Not a very strong sentence.

@codecov
Copy link

codecov bot commented May 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.83%. Comparing base (16af367) to head (d3e47f6).
Report is 1906 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9275   +/-   ##
=======================================
  Coverage   90.83%   90.83%           
=======================================
  Files         551      551           
  Lines       57019    57019           
  Branches     9076     9076           
=======================================
  Hits        51791    51791           
  Misses       3635     3635           
  Partials     1593     1593           

@github-actions
Copy link

This pull request has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added the wontfix Nobody will work on this. label Jun 19, 2023
@github-actions github-actions bot closed this Jul 3, 2023
@orangesunny orangesunny added documentation Improvements or additions to the documentation. and removed wontfix Nobody will work on this. labels Jul 3, 2023
@orangesunny orangesunny reopened this Jul 3, 2023
@github-actions
Copy link

This pull request has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added the wontfix Nobody will work on this. label Aug 14, 2023
@nijel nijel removed the wontfix Nobody will work on this. label Aug 16, 2023
@github-actions
Copy link

This pull request has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added the wontfix Nobody will work on this. label Sep 16, 2023
@orangesunny orangesunny removed the wontfix Nobody will work on this. label Sep 16, 2023
@github-actions
Copy link

This pull request has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added the wontfix Nobody will work on this. label Oct 17, 2023
@orangesunny orangesunny removed the wontfix Nobody will work on this. label Oct 17, 2023
Copy link

This pull request has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added the wontfix Nobody will work on this. label Nov 17, 2023
@nijel nijel removed the wontfix Nobody will work on this. label Nov 17, 2023
Copy link

This pull request has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added wontfix Nobody will work on this. and removed wontfix Nobody will work on this. labels Dec 18, 2023
nijel added a commit that referenced this pull request Dec 19, 2023
Copy link

This pull request has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added wontfix Nobody will work on this. and removed wontfix Nobody will work on this. labels Jan 21, 2024
Copy link

This pull request has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added wontfix Nobody will work on this. and removed wontfix Nobody will work on this. labels Feb 22, 2024
Copy link

This pull request has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added the wontfix Nobody will work on this. label Mar 24, 2024
@orangesunny orangesunny removed the wontfix Nobody will work on this. label Mar 25, 2024
Copy link

This pull request has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added the wontfix Nobody will work on this. label Apr 25, 2024
@orangesunny orangesunny removed the wontfix Nobody will work on this. label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to the documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants