Open elondaits opened 9 years ago
@ppxasjsm commented in another issue:
At the moment it is not possible to have multiple language PDFs uploaded for the Snapshots. This is problematic since we are now translating more and more of the snapshots and it would be very useful if there were at least an option to have multiple languages available for each snapshot, especially since a basic translation of title and abstract is possible.
Also see #98 , in which @andreasdanielmatt commented:
I was just about to link to a text (crystal and maths) in the background material section, (http://imaginary.org/de/node/833) from a German web page. Would it be possible to show the German version of the PDF when German is selected? (now always the English one is shown, and the German pdf is small below). This also applies for other languages (maybe one can mark the main pdf for the respective language, default can be English).
We will be getting a few more translations in the coming months, It would be good if this was up and running soon.
See if the behavior I listed in the first comment of this page is accurate or you need something else or different.
The key point of the described functionality is that we should be able to load and show translations even for languages that are not those in which the website itself is translated. If the site is being seen in, for example, korean, the korean PDF (if available) should be shown... but a translation in hebrew could be made available for download (or visualization, ideally) as well.
Texts (BG Materials and Snapshots) should have the following behavior regarding i18n:
(add any extra requirements in the comments below so the new data model contemplates it).