Add translations for several suggested languages#2918
Add translations for several suggested languages#2918jayhesselberth wants to merge 5 commits intomainfrom
Conversation
Suggestions welcome!
This comment was marked as resolved.
This comment was marked as resolved.
- Update vignette - Use gender-neutral forms when possible - Remove geman dialect - Fix Geman typo
|
We could also consider computing the vignette table from the available po files. |
|
@jayhesselberth could you also include the prompt you used? And I'd recommend being explicit in the NEWS bullet about which languages you added, that you used positron assistant, and which model you used. |
|
I definitely agree that it makes sense to automate the list in the vignette. |
|
I had a quick go asking claude code to proofread all the existing translations. That also filled in a few missing, found a problem with Turkish (light and dark look to be swapped), and reveals that we need extra instructions about using $1 etc if the order of the words is changed. We might also want some additional advice for languages with gendered nouns. |
|
First stab at a prompt (for proofreading): You are an experienced translator. Proofread the translations in Translation advice:
|
|
Thanks! Before merging this, could we please make sure the translations for each language are also reviewed by a native (human 😁) speaker? |
|
The German translation is okay. I noticed two things however (in R-de.po):
|
|
I also agree with @maelle that it would be good to get a human to take a look too. Definitely a lot of potential here for LLMs to speed up the work (and expose some small issues with existing translations) but it would be to good to verify each translation with a human (and if we can't find someone, I think that's a sign that language probably isn't that important for the R community). Maybe it's worth breaking this up in to a few separate PRs? I'm thinking one to automate the language list in the vignette, another to add a prompt (maybe also in the vignette?) and then one PR for each language? |
|
Automating the language list in the vignette isn't going to be as easy as I thought, as the only files available to pkgdown (assuming So, if where going to add todo bullets (#2927), I think we should just add a bullet to update the vignette with any language updates. |
|
Closing in favor of individual PRs. |
Suggestions welcome!