<div dir="ltr">Hi Ernesto,<div><br></div><div>I&#39;ve been investigating this further, and maybe I&#39;ve found the issue, please read: </div><div><br></div><div>Related forge issue: <a href="http://forge.typo3.org/issues/32214">http://forge.typo3.org/issues/32214</a></div>

<div><br></div><div>Reading through the code it doesn&#39;t seems that the languages in isoReverseMapping is never set as dependencies for the correct languagekey.</div><div><br></div><div>Taken from the pibase class, using language_alt depends on a calculated dependency on different languagekeys</div>

<div><br></div><div>----------</div><div>                if (!empty($GLOBALS[&#39;TSFE&#39;]-&gt;config[&#39;config&#39;][&#39;language&#39;])) {</div><div>                        $this-&gt;LLkey = $GLOBALS[&#39;TSFE&#39;]-&gt;config[&#39;config&#39;][&#39;language&#39;];</div>

<div>                        if (empty($GLOBALS[&#39;TSFE&#39;]-&gt;config[&#39;config&#39;][&#39;language_alt&#39;])) {</div><div>                                /** @var $locales t3lib_l10n_Locales */</div><div>                                $locales = t3lib_div::makeInstance(&#39;t3lib_l10n_Locales&#39;);</div>

<div>                                if (in_array($this-&gt;LLkey, $locales-&gt;getLocales())) {</div><div>                                        $this-&gt;altLLkey = &#39;&#39;;</div><div>                                        foreach ($locales-&gt;getLocaleDependencies($this-&gt;LLkey) as $language) {</div>

<div>                                                $this-&gt;altLLkey .= $language . &#39;,&#39;;</div><div>                                        }</div><div>                                        $this-&gt;altLLkey = rtrim($this-&gt;altLLkey, &#39;,&#39;);</div>

<div>                                }</div><div>                        } else {</div><div>                                $this-&gt;altLLkey = $GLOBALS[&#39;TSFE&#39;]-&gt;config[&#39;config&#39;][&#39;language_alt&#39;];</div>

<div>                        }</div><div>                }</div><div>----------<br></div><div><br></div><div>But in the initialize function of Locales the dependency on the reverseMapping is never calculated (is initlaize() suposed to be called automatically or manual?)</div>

<div><br></div><div>----------<br></div><div><div><span class="" style="white-space:pre">                </span>// Initializes the locale dependencies with TYPO3 supported locales</div><div><span class="" style="white-space:pre">                </span>$instance-&gt;localeDependencies = array();</div>

<div><span class="" style="white-space:pre">                </span>foreach ($instance-&gt;languages as $locale =&gt; $name) {</div><div><span class="" style="white-space:pre">                        </span>if (strlen($locale) == 5) {</div><div><span class="" style="white-space:pre">                                </span>$instance-&gt;localeDependencies[$locale] = array(substr($locale, 0, 2));</div>

<div><span class="" style="white-space:pre">                        </span>}</div><div><span class="" style="white-space:pre">                </span>}</div></div><div>----------<br></div><div><br></div><div>It never touches $isoReverseMapping</div><div><br>

</div><div>Can anyone form the XLIFF team maybe see if I&#39;m totally wrong on this?</div><div><br></div><div>Cheers</div><div><br></div><div>Søren</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 21, 2013 at 3:01 PM, Ernesto Baschny <span dir="ltr">&lt;<a href="mailto:ernesto.baschny@typo3.org" target="_blank">ernesto.baschny@typo3.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Soren,<br>
<br>
thanks for looking into that! If you could, please document your<br>
findings and also what steps you needed to go through in the Smooth<br>
Migration issue tracker as a new issue so that we don&#39;t forget to<br>
document this.<br>
<br>
<a href="http://forge.typo3.org/projects/typo3cms-smoothmigration/issues" target="_blank">http://forge.typo3.org/projects/typo3cms-smoothmigration/issues</a><br>
<br>
Kind regards,<br>
Ernesto<br>
<br>
Am 2013-08-19 12:41, schrieb Søren Malling:<br>
<div class="im">&gt; I think I found it in &quot;Locales.php&quot; -&gt; isoReverseMapping<br>
&gt;<br>
&gt; Will dig into it - thanks for the pointer anyway :-)<br>
&gt;<br>
&gt; Cheers<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Aug 19, 2013 at 11:39 AM, Søren Malling &lt;<a href="mailto:soren.malling@gmail.com">soren.malling@gmail.com</a><br>
</div><div class="im">&gt; &lt;mailto:<a href="mailto:soren.malling@gmail.com">soren.malling@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi Xavier,<br>
&gt;<br>
&gt;     What part of the localization should i look for the fallback? The<br>
&gt;     XliffParser or some more &quot;core&quot; related code?<br>
&gt;<br>
&gt;     Cheers<br>
&gt;<br>
&gt;     Søren<br>
&gt;<br>
&gt;<br>
&gt;     On Mon, Aug 19, 2013 at 10:09 AM, Xavier Perseguers<br>
</div><div><div class="h5">&gt;     &lt;<a href="mailto:xavier@typo3.org">xavier@typo3.org</a> &lt;mailto:<a href="mailto:xavier@typo3.org">xavier@typo3.org</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;         Hi,<br>
&gt;<br>
&gt;         &gt; One issue that we have come across in the change of locallang<br>
&gt;         format<br>
&gt;         &gt; (from ll-XML to XLF) is that the danish language key has<br>
&gt;         changed from<br>
&gt;         &gt; &quot;dk&quot; to &quot;da&quot;.<br>
&gt;         &gt;<br>
&gt;         &gt; Can anyone confirm this?<br>
&gt;<br>
&gt;         Yes as we use official ISO codes, but I would have sworn that<br>
&gt;         fallback<br>
&gt;         was in place.<br>
&gt;<br>
&gt;         --<br>
&gt;         Xavier Perseguers<br>
&gt;         Release Manager TYPO3 4.6<br>
&gt;<br>
&gt;         TYPO3 .... inspiring people to share!<br>
&gt;         Get involved: <a href="http://typo3.org" target="_blank">http://typo3.org</a><br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         Before posting to this list, please have a look to the posting rules<br>
&gt;         on the following websites:<br>
&gt;<br>
&gt;         <a href="http://typo3.org/teams/core/core-mailinglist-rules/" target="_blank">http://typo3.org/teams/core/core-mailinglist-rules/</a><br>
&gt;         <a href="http://typo3.org/development/bug-fixing/diff-and-patch/" target="_blank">http://typo3.org/development/bug-fixing/diff-and-patch/</a><br>
&gt;         _______________________________________________<br>
&gt;         TYPO3-team-core mailing list<br>
&gt;         <a href="mailto:TYPO3-team-core@lists.typo3.org">TYPO3-team-core@lists.typo3.org</a><br>
</div></div>&gt;         &lt;mailto:<a href="mailto:TYPO3-team-core@lists.typo3.org">TYPO3-team-core@lists.typo3.org</a>&gt;<br>
<div class="im">&gt;         <a href="http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core" target="_blank">http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Before posting to this list, please have a look to the posting rules<br>
&gt;     on the following websites:<br>
&gt;<br>
&gt;     <a href="http://typo3.org/teams/core/core-mailinglist-rules/" target="_blank">http://typo3.org/teams/core/core-mailinglist-rules/</a><br>
&gt;     <a href="http://typo3.org/development/bug-fixing/diff-and-patch/" target="_blank">http://typo3.org/development/bug-fixing/diff-and-patch/</a><br>
&gt;     _______________________________________________<br>
&gt;     TYPO3-team-core mailing list<br>
</div>&gt;     <a href="mailto:TYPO3-team-core@lists.typo3.org">TYPO3-team-core@lists.typo3.org</a> &lt;mailto:<a href="mailto:TYPO3-team-core@lists.typo3.org">TYPO3-team-core@lists.typo3.org</a>&gt;<br>
&gt;     <a href="http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core" target="_blank">http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Ernesto Baschny<br>
TYPO3 CMS Core Developer<br>
Release Manager TYPO3 4.5 &amp; 6.2 LTS<br>
<div class="im"><br>
TYPO3 .... inspiring people to share!<br>
</div>Get involved: <a href="http://typo3.org" target="_blank">typo3.org</a><br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Before posting to this list, please have a look to the posting rules<br>
on the following websites:<br>
<br>
<a href="http://typo3.org/teams/core/core-mailinglist-rules/" target="_blank">http://typo3.org/teams/core/core-mailinglist-rules/</a><br>
<a href="http://typo3.org/development/bug-fixing/diff-and-patch/" target="_blank">http://typo3.org/development/bug-fixing/diff-and-patch/</a><br>
_______________________________________________<br>
TYPO3-team-core mailing list<br>
<a href="mailto:TYPO3-team-core@lists.typo3.org">TYPO3-team-core@lists.typo3.org</a><br>
<a href="http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core" target="_blank">http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core</a><br>
</div></div></blockquote></div><br></div>