<div dir="ltr">Just added this dependency configuration<div><br></div><div><div>$TYPO3_CONF_VARS['SYS']['localization']['locales']['dependencies'] = array(</div><div> 'da' => array('dk')</div>
<div>);</div></div><div><br></div><div>With no changes to my frontend, which still uses the "default" (english) label files, and not my "da" or "dk" .locallang.xlf file. I also turned the array around (dk => da)</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 Mon, Oct 7, 2013 at 3:30 PM, Søren Malling <span dir="ltr"><<a href="mailto:soren.malling@gmail.com" target="_blank">soren.malling@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div dir="ltr">That can absolutely be a solution, but as i understand config.language_alt it's suppose to become a dependency of the config.language setting and make sure that the da.locallang.xlf is used if dk.locallang.xlf doesn't exist.<div>
<br></div><div>And again, by configurating it, how come it be a part of the $locales->getLanguages() that is used for determining what Locale file to be used? I can't see that logic anywhere.</div><div><br></div><div>
Please correct me if I'm wrong, and let's have the documentation [1] adjusted or adjust the behavior of the LanguageService</div><div><br></div><div>Cheers,</div><div><br></div><div>Søren</div><div><br></div><div>
[1] <a href="http://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html" target="_blank">http://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html</a></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div class="im">
On Mon, Oct 7, 2013 at 3:02 PM, Xavier Perseguers <span dir="ltr"><<a href="mailto:xavier@typo3.org" target="_blank">xavier@typo3.org</a>></span> wrote:<br></div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Søren,<br>
<br>
Is there a reason why you cannot configure fallback for both BE and FE<br>
with the language dependency of TYPO3_CONF_VARS?<br>
<br>
Kind regards<br>
Xavier<br>
<div><br>
--<br>
Xavier Perseguers<br>
Release Manager TYPO3 4.6<br>
<br>
TYPO3 .... inspiring people to share!<br>
Get involved: <a href="http://typo3.org" target="_blank">http://typo3.org</a><br>
<br>
_______________________________________________<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" target="_blank">TYPO3-team-core@lists.typo3.org</a><br>
</div><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>
</blockquote></div></div></div><br></div>
<br>_______________________________________________<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></blockquote></div><br></div>