Discussion:
[TYPO3-english] Language Translation in TYPO3 7.6
Siva Prasad
2016-03-04 08:28:24 UTC
Permalink
Hi all,

I am working on small website which has 5 languages (German as default language ) .I would like to add/display some content only in translation and in default I dont want to display these in default. The same requirement was possible in TYPO3 4.7 but in TYPO3 7.6 I could not see any Add icon to add content only in alternative pages. Can any one give me a hit on this ?
Nicole Cordes
2016-03-04 09:54:45 UTC
Permalink
Hi Siva,
Post by Siva Prasad
I am working on small website which has 5 languages (German as default
language ) .I would like to add/display some content only in translation
and in default I dont want to display these in default. The same
requirement was possible in TYPO3 4.7 but in TYPO3 7.6 I could not see
any Add icon to add content only in alternative pages. Can any one give
me a hit on this ?
By default TYPO3 7.6 prevents inconsistency between multiple languages.
However, with some pageTS you should be able to disable this behaviour:

`mod.web_layout.allowInconsistentLanguageHandling = 1`


Best regards,
Nicole

--
Nicole Cordes
TYPO3 CMS Core Team Member
TYPO3 Security Team Co-Leader

TYPO3 .... inspiring people to share!
Get involved: typo3.org
Siva Prasad
2016-03-04 10:45:02 UTC
Permalink
Hi

Thanks for the response , Now I can add content element in alternate page languages but the added content is not displaying the FE

BR
Siva
Michael Nußbaumer
2016-04-20 23:55:42 UTC
Permalink
Hi Siva,

i had the same problem as you. I could finaly find the solution. You just have to add the following code to your typoscript.

My code for the main column looks like this:

lib.COL0 < styles.content.get
lib.COL0.select.includeRecordsWithoutDefaultTranslation = 1

This simple option helped me to finaly get it work how i want.

Greets Michael
Christian Baer
2017-09-18 07:59:46 UTC
Permalink
Is this still working in 7.6.16?

I added

mod.web_layout.allowInconsistentLanguageHandling = 1

to my pageTS Config but still get this error:


"Inconsistent content detected in language "EN"
Make sure that this behavior is intended and does not pose a problem for you. We highlighted the problematic records for you."

on pages with mixed languages. They are displayed in the frontend but I'm not able to change their sorting.
Currently the only solution seems to remove the references to the origin-entry in the database, so all entries are non-translated entries,
which seems wrong to me. But my editors can't work the way it is now.

The installation was a fresh up-to-date installation from 2014 and is kept up to date until now, so it would be nice to get things working again that worked until now.
Loading...