-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Multilingualism handling #225
Comments
The idea is to provide a new enpoint called |
When linking to content items as translations, we need to pass a parameter with the id of the linked content. For the moment I will try to use the current value of |
I created a branch for this issue: https://github.com/plone/plone.restapi/tree/issue-225-multilingualism |
Is it safe to asume that the |
Discussed with @sneridagh and @buchi:
This would require to add conditional registrations for LinguaPlone and different test setup. |
The build is green: https://travis-ci.org/plone/plone.restapi/builds/207939667 I still want to do some other checks if I can make it work with Plone 4 and earlier versions of plone.app.multilingual (1.x and 2.x) (currently I have some test issues with them) |
@erral would you mind creating a pull request? Or is it too early for this? |
I'll do it. I have just been finishing other stuff.
I need to check one or two things, and then I'll issue the PR.
…On Fri, Mar 10, 2017 at 12:51 PM, Timo Stollenwerk ***@***.*** > wrote:
@erral <https://github.com/erral> would you mind creating a pull request?
Or is it too early for this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#225 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAx41aLqZTDliOrNllq1l0ZIHyUV1I1Aks5rkTk6gaJpZM4MSByN>
.
--
Mikel Larreategi
CodeSyntax
Azitaingo Industrialdea 3 K
E-20600 Eibar
Tel: (+34) 943 82 17 80
|
And of course, I need to rewrite the docs to handle changes on #248 |
After a long fight with this issue and the different test-setup scenarios needed to run this, I found it too complex to handle the whole scope of multilingualism handling just in one package. If I include the implementation for LinguaPlone in plone.restapi, the documentation of plone.restapi breaks, because LinguaPlone installs some more vocabularies, and thus the If I try to install plone.app.multilingual in Plone 4, there are some more testing breakages that occur when running the tests when the code is exactly the same... Anyway neither LinguaPlone nor plone.app.multilngual are installed by default in Plone 4, moreover there are two versions of plone.app.multilingual that work in Plone 4 (1.x and 2.x). So, as the last attempt, I just included the Anyway, the code and tests for LinguaPlone work, so I would go to include it in an external package, something like Comments? @sneridagh @tisto @buchi |
The pull-request is merged, we can close this. For future reference, only Plone 5 support is added directly on plone.restapi. To get Plone 4 support with either LinguaPlone or plone.app.multilingual use specific addons (https://pypi.python.org/pypi/collective.restapi.linguaplone and https://pypi.python.org/pypi/collective.restapi.pam) |
We need an endpoint to return the translations of a given content and another one to link two contents as translations of each other.
Progress so far:
Plone 4 with plone.app.multilingualThe text was updated successfully, but these errors were encountered: