Using a vanilla commons3.3 install, I am trying to use the Content Translation module (after enabling Locale) to translate wiki posts
Setup
- enable locale module
- enable content translation module
- enable translation for wiki content type
1. Create a new wiki post
2. Go to translate
3. Add translation for another language (e.g. German)
4. The translated wiki post functions correctly, showing the link to the other language
5. Go back to the source post, to the translate interface, and it does not show the other language
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | include-entity-cache-translation-fix-2070127-5.patch | 681 bytes | devin carlson |
| translated.jpg | 116.9 KB | synotna | |
| source.jpg | 106.85 KB | synotna |
Comments
Comment #1
synotna commentedWhile testing out other modules, I have noticed that when I disable and re-enable the content translation module, the missing link is fixed, but when I make a new post and a new translation, the same problem happens again
Comment #2
devin carlson commentedThis is an issue with the Entity Cache module, see #2060407: Core content translation not working. Following your steps, if you clear the site cache after step #5, you should see the link to the node in the other language on the translation page of the source post. If you don't need the performance benefits of Entity Cache, I'd suggest disabling it until this issue is resolved.
I'll look into a fix.
Comment #3
ezra-g commentedThanks, Devin! Adding to the 3.4 radar.
Comment #4
devin carlson commentedI've posted a fix for review at #1349566: Add tests for content translation.
Comment #5
devin carlson commentedA patch to include the fix from #1349566-12: Add tests for content translation in case it takes a while for that issue to be fixed.
Comment #6
devin carlson commentedRetested #5 and committed to Commons 7.x-3.x.
http://drupalcode.org/project/commons.git/commit/c660254