Danko
Participant
    # 2 years, 5 months ago

    Hi, thanks …
    I have tried and works in the form (selectbox value) but in the view it does not translate. Also how do I add the translation of other modules and not just the translation there ‘Contacts’?
    Below the file Modules/Platform/Core/Resources/views/components/types/manyToOne.blade.php
    Did I have something here?

    @if($entity->$fieldName != null )
    @if(isset($options[‘dont_translate’]))
    {{
    $entity->{$options[‘relation’]}->{$options[‘column’]}
    }}
    @else
    {{
    $entity->{$options[‘relation’]}->{$options[‘column’]}
    }}
    @endif
    @endif
    trans(‘contacts::contacts.dict.’.$item);