EXT:news only in additional language – images missing in frontend - typo3

Similar to Displaying records from EXT:news in specific language I have a two-language site news and the settings:
sys_language_mode = strict
sys_language_overlay = 0
In the second language (en), the ext:news plugin should display news that have been regularly translated, but also english "orphans" that don't exist in the main language (de).
While this works for text, the images aren't displayed in the frontend.
They do appear in the backend, but as there is no original in the main language, I don't get the localisation buttons for the media files.
How can images be displayed for english "orphan" news?

Try EXT: repair_translation

Related

TYPO3 - Translations set but neither processed nor displayed

I've been building a TYPO3 website. I wanted to use the multi-language capacity of TYPO3 and get acquainted with the CMS. I'm using V.9.5.6 at the moment with the Introduction Package.
I followed the manual on multi-language setup here : https://docs.typo3.org/m/typo3/guide-frontendlocalization/9.5/en-us/Index.html
When switching languages, the page refreshes but no visible changes occur.
I deleted the original "German" et "Dansk" languages, then added "French" and "German". I used the contact page as proving grounds.
I added translations in germand and french from the original english page I built. There's only a header and a contact form. In english, it reads "contact form". In german and french it should read respectively "Kontaktieren Sie uns" and "Contactez-nous".
The languages UIDs are 2 for German and 3 for French. The template, in the languages section, has "auto" for the list of languages and it pulls correctly the 2 I added, in the correct order.
In a properly setup website, if default language is English, and I click on the "German" or "French" language button at the bottom, the page should refresh and display the content translated in the language I selected and have the selected language in bold at the bottom of the page.
When clicking on the bottom links, it adds the correct L= parameter and the page loads but no visible change occur on the page. Even the language link at the bottom of the page has "Default" in bold instead of whatever I clicked.
There is NO error message when clicking on the language buttons.
I'm pretty sure this is not the standard behavior of a TYPO3 multi-lingual installation. What can cause the CMS to not fetch a translated content OR fail to get the language change information from the parameters passed in the URL ?
I'll try to answer this vague question.
Usually there are three pitfalls you should look at:
realurl (or routes in v9) here is a nice gist: https://gist.github.com/koehlersimon/9dcbabb6b1b2adcbc84db96fd144fb08
TypoScript settings for the languages: https://docs.typo3.org/m/typo3/guide-frontendlocalization/9.5/en-us/TyposcriptConfiguration/Index.html#typoscript-configuration
proper .htaccess in connection with [1.]
I also suggest to update to v 9.5.9
There have been plenty bugfixes since v 9.5.6 and updating within branch 9.5.X is really easy and non-breaking!

broken links from news with internal link to page which is hidden in default language

I have news articles of type internal link. The article is created in the default language and is localized. In the news article the internal link points to a page which has the Hide default translation of page flag set.
Now the editors have used the news plugin with list of selected items. In the default language they picked the above mentioned articles of type internal link. Now TYPO3 generates a broken link to the page in the default language which is hidden.
Is there any way to prevent the link being generated in this setup?
Expected behaviour would be that TYPO3 / tx_news renders the link only when the target page is available.
My setup:
TYPO3 8.7.13
tx_news 6.3.0
Georg Ringer has fixed the problem: https://github.com/georgringer/news/commit/b7d49dd95f8dbc58fdec452f31b57935e5769549
The fix will be part of the next release of EXT:news.
Thx a lot to Georg for the fast fix!

TYPO3 & tt_news - internal Link without language parameters

i have a Problem regarding TYPO3 and the extension tt_news.
I have a multilingual Site with 2 Languages, english and german. The news on the site are generatet by the extension tt_news - everything is working fine except one thing:
When i put an internal direct link in the news body, the language parameter is lost. So when the user klicks on the Link, it always comes back to the default language. How can i make TYPO3 generate the links with the selected language parameter, or how can i add them?

TYPO3 FAL images for translation don't work with tx_news (language)

I am working with TYPO3 CMS 6.2.14 and tx_news (news georg ringer) 3.1.0. My Website has two languages, german (L=0) and english (L=1).
Now I tried to translate a tx_news data record by clicking the british flag, so I'll have a 1:1-copy of the data record. Everything is fine. I can translate my text content - great!
But what's about my images? My english data record only showing the german picture! I can upload new 'english images', but they won't be shown in Frontend. Only the german picture from the news data record.
This must be a massive problem in TYPO3 or tx_news? I don't know?
https://forge.typo3.org/issues/57021
https://forge.typo3.org/issues/57272
But there's no solution for me at all. How can I use different FAL images or videos in two different data records from tx_news?
This is my TypoScript-Setup:
...
### not in use ## sys_language_mode = content_fallback
sys_language_overlay = 1
....
Actually the core bug is still there (TYPO3 7.6 & 8.7).
You can use the extension repair_translation to fix the translation handling with FAL objects.
Ext.https://github.com/froemken/repair_translation
Docs https://docs.typo3.org/typo3cms/extensions/repair_translation/Introduction/Index.html#the-typo3-bug
This is a bug in core reportded on forge, see https://forge.typo3.org/issues/57272

Problems with Typo3 multilanguage website

I am pretty new in Typo3 world.
I am working on this multilanguage website: http://www.fao.org/investment/investment-policy/investment-policy-support-home/en/ of which I have renovated the home page inserting an HTML module and creating some static content into it. Infact if you try to click on a language that is different from the english, still appear the english version homepage
I have a problem: the website is a multilanguage website but I can't show 3 different home page version (english verion, french version and spanish version).
I have do the following operation:
In the Typo3 backend I have selected my home page and (selecting the Default value for the Language field of the page I have inserted a Plain HTML element in the central columns. Then I have insert my custom HTML code in this module selecting Default value for the Language field of this Plain HTML module
then I have do the same operations for french and spanish version (inserting the right content) selecting the Francais value for the Language field of the page** and selecting*Francais value for the Language field of this Plain HTML module*
But in this way don't work and for any chosen language content appears in English.
Why? Where is the problem? How can I solve?
Tnx
Andrea