[TYPO3-mvc] Non-translated fields do not display

Tim Schoch | GSTALTIG tim.schoch at gstaltig.ch
Mon Nov 14 14:06:38 CET 2011


hello

maybe this helps:
add 
'l10n_mode' => 'mergeIfNotBlank'
to each file of your models TCA.

eg:

'foo' => array(
  'exclude' => 1,
  'label' => '...',
  'l10m_mode' => 'mergeIfNotBlank',
  'config' => array ( ... )
)

Tim
  _____  

From: Henjo Hoeksma [mailto:me at henjohoeksma.nl]
To: TYPO3 v4 MVC project [mailto:typo3-project-typo3v4mvc at lists.typo3.org]
Sent: Mon, 14 Nov 2011 14:00:37 +0100
Subject: Re: [TYPO3-mvc] Non-translated fields do not display

Hi Dimanche,
  
  maybe I understand you wrongly, but if you work with localized objects and
  some properties of an object are not localized it would make sense to me
  they are not visible...
  
  Since your object is a person, for 99% probably the object is exactly the
  same as in the default language. In that case you could set the record to
  'All languages'.
  
  Then you can only localize the ones that need to be localized.
  
  I had some troubles with localization due to some mistaken TCA settings.
  See my posts about this from this weekend.
  
  Kind regards,
  
  Henjo
  
  Problems are small because we learned how to deal with them.
  Problems are big because we need to learn how to deal with them.
  
  
  On Mon, Nov 14, 2011 at 11:23, Dimanche Eat <dimanche at web-essentials.asia>wrote:
  
  > Hi Everyone,
  >
  > I am using Extbase version 1.3.1-devel and Fluid 1.3.0 and I have a
  > problem to display non-translated fields in other languages.
  >
  > For example, I have a table person with some properties (title, name, sex,
  > address, telephone and photo). So, let's say only fields title, name and
  > sex are allowed to translate in the backend management. In the frontend, I
  > made a view to list all persons after that I clicked on a person in the
  > list to see the details then I can see all fields of that person in the
  > default language, that's fine. But when I switched to my second language, I
  > can see only the fields that have been translated. I don't know what is
  > wrong.
  >
  > One thing to note is that when I installed my extension with the TYPO3
  > that use templavoila ext, it is working fine but if I install with the
  > TYPO3 that uses automaketemplate ext, it doesn't work. it is strange for
  > me. I don't know if there is a configuration somewhere in the TYPO3 that
  > uses automaketemplate ext to solve that.
  >
  > I created my extension by Extension-Builder.
  >
  > Does anyone has an idea? Thanks a lot for your help.
  >
  > Kind regards,
  > Dimanche
  > ______________________________**_________________
  > TYPO3-project-typo3v4mvc mailing list
  > TYPO3-project-typo3v4mvc@**lists.typo3.org<TYPO3-project-typo3v4mvc at lists.typo3.org>
  > http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**
  > project-typo3v4mvc<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc>
  >
  _______________________________________________
  TYPO3-project-typo3v4mvc mailing list
  TYPO3-project-typo3v4mvc at lists.typo3.org
  http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
    


More information about the TYPO3-project-typo3v4mvc mailing list