wagtail / wagtailtrans

A Wagtail add-on for supporting multilingual sites
http://wagtailtrans.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
104 stars 60 forks source link

Translate Into button disappears after first translation #134

Open drcongo opened 6 years ago

drcongo commented 6 years ago

Issue summary

We have a site with 6 languages, English set as the default and the page tree set to freeform. When someone translates a page from English to another language, the Translate Into button disappears from Wagtail admin on the English language version. It does however show on the new version. So, if someone translates from English to Spanish, they then can't translate from English to Russian, but have to translate from Spanish to Russian. This means that using self.translations.all() the English and Russian versions know nothing about each other, but the Spanish version knows about them both.

How to reproduce?

Create a site with more than two languages and translate a page.

Technical details

Python 3.6.3 Wagtail==2.2.2 Django==2.0 wagtailtrans==2.0.2

I guess I'm also unsure about what conditions cause the Translate Into button to show or not show.