-
-
Notifications
You must be signed in to change notification settings - Fork 724
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
i18n polishing #5542
i18n polishing #5542
Conversation
✅ Deploy Preview for volto canceled.
|
Will this PR result in a change to how developers currently work on translations, specifically in Internationalization? |
No, they can continue working like they work today. There are no changes on the way Volto code is internationalized. They can even continue working translating Volto editing directly the PO files. No changes on that. |
Is there a plan to ask folks to translate Volto through Weblate? I just hunted down this https://hosted.weblate.org/projects/plone/volto-main/. This looks to be an easier way for people to contribute translations, but would it bypass the Plone Contributor Agreement? |
Yes the plan is to integrate Weblate too, but it is not mandatory, users can keep working on PO files too. To tell the truth I didn't realize about the contributor5agreement to translate Volto. As it is not needed for plone.app.locales (it lives in collective), I didn't even thought about this. But, i the CA is required, I would either retire Volto from Weblate or check if any User validation can be added there. Anyway, rigth now the contributions for Volto in Weblate are stopped. Thanks for your heads up @stevepiercy |
I'm not a Contributor Agreement expert. Let's get @polyester's or another Plone Foundation member's opinion on making contributions of translations through Weblate. Weblate has stuff about agreeing to the license of the project, but nothing about a contributor agreement. If we could automate MrRoboto to check a contributor through Weblate just as it does now for GitHub, then that might be acceptable. |
✅ Deploy Preview for plone-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
@sneridagh Okay to merge? |
@erral we will need a backport PR for 17 and 16, I guess. |
Yes, I plan to connect Weblate only to I can check the backport if the cherry-picking does not work. |
@erral @davisagli don't know if issue this one as breaking... since people using it are going to see changes in their .po (although they will be innocuous). What do you think? |
@sneridagh Not breaking. The old .po format still works if they do not update it. |
* main: (1505 commits) Links references view cypress tests (#5111) Unify start command, trigger `build:deps` command too (#5633) Release generate-volto 9.0.0-alpha.3 Release @plone/types 1.0.0-alpha.2 Improve Blocks typings. Refactor `volto-coresandbox` to TS. (#5624) i18n polishing (#5542) Release @plone/scripts 3.2.1 Fix @plone/scripts for 17 and below (#5613) Release @plone/scripts 3.2.0 Enhance `ColorPickerWidget` (#5585) edit recurrence button is aligned properly (#5590) Revert "Attempt to build the volto/components Storybook only when something c…" (#5601) Revert "Added Storybook to Netlify build to allow relative links from documen…" (#5598) Added Storybook to Netlify build to allow relative links from documen… (#5596) Attempt to build the volto/components Storybook only when something c… (#5595) Pin mrs.developer to an updated version, never to star. (#5593) Allow to bail off the nested name build in the custom CSS properties style name generator (#5586) Clarify how CSS properties work (#5592) Release 18.0.0-alpha.6 Release @plone/client 1.0.0-alpha.12 ...
* main: (39 commits) Attempt to build the components storybook only when its source files … (#5600) Added Storybook to Netlify build to allow relative links from documentation (#5599) Fix multilingual redirector (#5628) (#5665) Update ref from install-from-packages to create-project (#5654) Pin Vale to 2.30.0 to allow build of documentation until we can upgrade to v3.x (#5656) Temporarily pin `sphinxcontrib-*help` dependencies so docs can build (#5655) Merge the StyleWrapper styles with the draggable props from b-D&D (#5652) Fix order of preference in addons-registry for the theme (#5649) Unify variables in Makefile (#5637) Links references view cypress tests (#5111) Unify start command, trigger `build:deps` command too (#5633) Release generate-volto 9.0.0-alpha.3 Release @plone/types 1.0.0-alpha.2 Improve Blocks typings. Refactor `volto-coresandbox` to TS. (#5624) i18n polishing (#5542) Release @plone/scripts 3.2.1 Fix @plone/scripts for 17 and below (#5613) Release @plone/scripts 3.2.0 Enhance `ColorPickerWidget` (#5585) edit recurrence button is aligned properly (#5590) ...
Co-authored-by: David Glick <david@glicksoftware.com>
Co-authored-by: Mikel Larreategi <mlarreategi@codesyntax.com> Co-authored-by: David Glick <david@glicksoftware.com>
I have been working on polishing the po file generation to align with Weblate. They are mainly cosmetic changes, but this way we create the same po file structure that we are using in plone.app.locales, and we avoid Weblate doing a lot of changes each time there is a PR (changes like putting first the file the msgid comes from instead of the default message)
# defaultMessage: xxxx
header with#. Default: "xxx"
.MIME-Version
header.Generated PO files are still valid and can be edited with other tools like Poedit, for instance.
If you find the PR OK, after it's merged I will work on Weblate integration.