Closed hturner closed 1 year ago
Definitely. They have "always" received translations and translation updates in the past.
Summarizing discussion with @daroczig and @lawremi today:
There are three basic approaches here:
I think there are two drawbacks to 1 and 2:
There are two drawbacks to 3 as well:
Overhead for patch generation. As confirmed with Michael L., canonical maintenance of the .po files for the Recommended packages is up to the respective maintainers. That means we need to send each maintainer a patch (patches) for the specific Recommended package(s) they maintain (last update):
bold packages are not present in Heather's SVN link in https://github.com/r-devel/translations/issues/21#issue-1816143240. ~scratched~ packages are present, but are not "Recommended". Canonical source of what's "Recommended" taken from https://github.com/r-devel/r-svn/blob/5ec122aee4f616d6cc6bcd6479d1edcc45a7c5ea/share/make/vars.mk#L12.
On balance, I think 3 is the best choice. I will add the components tomorrow & work out the script for generating multiple patches.
I would be more in favour of Option 2.
Response to drawbacks:
More pros of Option 2:
If you still think Option 3 is better (easier to maintain), it would be good if Recommended packages could be clearly marked in some way and perhaps ordered together when looking at the list of components (perhaps after everything maintained by R Core).
Sounds good, thanks Heather! I'm swayed -- we'll do a project for recommended packages.
List of components to add:
lattice has a faulty .po file; Weblate error here:
Could not parse 1 matched file. lattice/po/R-de.po: end-of-line within string on line 176: 'msgid "Invalid key, need at least one component named lines, text, rect or points"\n'
@deepayan could you help to apply the following patch to lattice/po/R-de.po:
msgid "Invalid key, need at least one component named lines, text, rect or points"
-msgstr
+msgstr ""
"Ungültiger Schlüssel. Es wird mindestens eine Komponente mit Namen "
"»lines«, »text«, »rect« oder »points« benötigt."
Update at lunch: finished all packages maintained on the main SVN repo (except for lattice, which has an error).
Update from Deepayan: lattice is not maintained on that SVN repo, but GitHub:
https://github.com/deepayan/lattice
The other packages' sources may also be outdated there if the DESCRIPTION URL does not match.
The following packages are linked to the github cran mirror as a source since I'm not aware of a public source control for them:
~* Actually, Matrix is on R Forge, but Weblate doesn't support the SCM system.~
Gergely pointed out R Forge has an SVN source, we point to that now.
OK, recommended packages are available for translation:
https://translate.rx.studio/projects/the-r-project-recommended-packages/
One potential avenue for improvement: {lattice} and {rpart} are maintained on GitHub; we might consider setting up a workflow similar to that done for the Mac GUI files whereby we set up the push
configuration to send patches directly as PRs to the upstream maintainers.
Marking this as closed. Let's open follow-up issues as needed for announcing/communicating the new components, and more quality-of-life improvements on this project as needed.
Currently Weblate only covers base packages, we could consider adding recommended packages.
I guess the logistics are more difficult as they have different maintainers and the source is different places. We could start with the ones maintained on the R Project SVN (https://svn.r-project.org/R-packages/trunk/) and/or packages whose maintainers are at the sprint.