TYPO3 & tt_news - internal Link without language parameters - typo3

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?

Related

fallbackType: free brakes translation of sys_categories

"fallbackType: free" in the config.yaml seems not to work with displaying sys_categories in the frontend. Backend works as expected, but in the frontend default and foreign language are shown together.
My news template shows a list of categories to filter news by categories. With "fallbackType: strict" this works fine, but not with "fallbackType: free": In the default language the list is shown in the default language, as expected. But in the foreign language we get a list of all translated categories and additional all categories in the default language. In single view of news i get the category list bound to the news always in the default language, never translated.
Is this a feature or a bug? How can i work around? I need "fallbackType: free" because my client wants to publish news in the foreign language without a news in the default language. So i can't simply switch back to "fallbackType: strict".
(TYPO3 10.4)
Thanks!

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!

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

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

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