<p>@carlcs helped me in Craft Slack. Many thx to him. The solution at the end was to pull out the asset field from the main matrix field and to put them in a separate without localisation enabled.</p>

CC BY-SA 3.0
2016-04-01T10:44:03.693Z
2016-04-01T10:44:03.693Z
Omar De-Giuli
<p>I have a website with three locales (de, fr, it). On a Matrix Field i have Assets where are only uploaded in German language. Now i'm trying to show those assets also in French and Italian language.</p>

<p>Any ideas to solve this? I have tried to put a <code>.locale('de')</code> to get the german fields, but if i change the language, the assets are not displayed.</p>

<p>Here is my code:</p>

<pre><code>    {% for entry in craft.entries.section('sitemap','staticContent').status('live').slug(lastSegment).limit(1) %}

    {% for block in entry.multiContent %}

        {% if block.type == "documents" and block.downloadbarAlsDigitalesDokument == "1" %}

            &lt;div class="section-content-downloads"&gt;

                &lt;div class="container"&gt;

                    {% set items = block.datei %}

                    &lt;ul class="list-unstyled"&gt;

                        {% for item in items %}

                            &lt;li&gt;
                                &lt;a href="{{ item.url() }}" title="Download: {{ item.title }}" target="_blank"&gt;&lt;i class="fa fa-file-{{ item.extension }}-o"&gt;&lt;/i&gt; {{ item.title }}&lt;/a&gt;
                            &lt;/li&gt;

                        {% endfor %}

                    &lt;/ul&gt;

                &lt;/div&gt;

            &lt;/div&gt;
        {% endif %}

    {% endfor %}

{% endfor %}
</code></pre>

CC BY-SA 3.0
2016-03-31T23:11:58.490Z
Did you try to append that `locale('de')` parameter to the matrix criteria `entry.multiContent`?
carlcs
CC BY-SA 3.0
2016-04-01T09:36:46.880Z
yes, but the prob is, that then all the content from this matrix field is served in german. i only need the german assets to be shown in all locales. the other matrix fields are translated as usual.
Omar De-Giuli
CC BY-SA 3.0
2016-04-01T09:39:24.010Z
How do you determine the position of the asset blocks, if they only exist in the german matrix?
carlcs
CC BY-SA 3.0
2016-04-01T10:18:03.900Z
not yet... i do a normal for loop like described in the craft docs. the only exception are the uploaded assets. they are only set in the german language, because i whant that those downloads are presented similar on the other two languages. we don't upload a localized version on each locale. i hope you understand me, my english is very bad.
Omar De-Giuli
<localization>
Show Matrix Assets from German language in other locales
# Show Matrix Assets from German language in other locales

(Asked by: username_0 on 2016-03-31)

I have a website with three locales (de, fr, it). On a Matrix Field i have Assets where are only uploaded in German language. Now i'm trying to show those assets also in French and Italian language.
Any ideas to solve this? I have tried to put a .locale('de') to get the german fields, but if i change the language, the assets are not displayed.
Here is my code:
    {% for entry in craft.entries.section('sitemap','staticContent').status('live').slug(lastSegment).limit(1) %}

    {% for block in entry.multiContent %}

        {% if block.type == "documents" and block.downloadbarAlsDigitalesDokument == "1" %}

            

                

                    {% set items = block.datei %}

                    

                        {% for item in items %}

                            
                                 {{ item.title }}
                            

                        {% endfor %}

                    

                

            
        {% endif %}

    {% endfor %}

{% endfor %}

**Tags:** localization

> **Comments:**
> **username_1**: Did you try to append that `locale('de')` parameter to the matrix criteria `entry.multiContent`?  
> **username_0**: yes, but the prob is, that then all the content from this matrix field is served in german. i only need the german assets to be shown in all locales. the other matrix fields are translated as usual.  
> **username_1**: How do you determine the position of the asset blocks, if they only exist in the german matrix?  
> **username_0**: not yet... i do a normal for loop like described in the craft docs. the only exception are the uploaded assets. they are only set in the german language, because i whant that those downloads are presented similar on the other two languages. we don't upload a localized version on each locale. i hope you understand me, my english is very bad.  

---

## 1 answers

### Answer by username_0 on 2016-04-01. Score: 1

@username_1 helped me in Craft Slack. Many thx to him. The solution at the end was to pull out the asset field from the main matrix field and to put them in a separate without localisation enabled.


---

