http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692012-10-17T22:32:32ZTYPO3 ForgeTYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1370802012-10-17T22:32:32ZXavier Perseguersxavier@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>Please describe your use case and tell us why if something is wrong in English we should not change the "placeholder" instead of creating a "real" English translation.</p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1370982012-10-18T08:44:24ZDaniel Alderdalder@snowflake.ch
<ul></ul><p>Xavier Perseguers wrote:</p>
<blockquote>
<p>Please describe your use case and tell us why if something is wrong in English we should not change the "placeholder" instead of creating a "real" English translation.</p>
</blockquote>
<p>For example:<br />the "default" label in the extension is "label1" an its text "text1" <br />the only way to change the label "label1" to "text2" is using TS (whats a bad practise) or change the label within the extension locallang itself in the "default" section.<br />reason: the l10n folder is not working anymore for "en" because it will always set to "default". On the other hand "default" is not supported in l10n.</p>
So l10n is totally meaningless for "en" and thats fools you in following situations:
<ul>
<li>extension is from the communitiy (translations will be overwritten on every update)</li>
<li>if the extension is under version control you have to commit source 'cause of language changes to keep source up-to-date</li>
</ul>
<p>Or am I missing some kind of alternative to change labels independantly from the extensions source?</p>
<p>Besides:<br />the translation handling should be simplified/unified/extended. Is there already a discussion running?</p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1391652012-11-04T21:24:47ZXavier Perseguersxavier@typo3.org
<ul></ul><p>Your description makes sense. Could you come up with a patch to remove this line 90. We should test it and make sure existing unit tests still work as before, and most probably write a few new ones to check the "new" behaviour.</p>
<p>Make sure to think about this way as well:</p>
<p><a class="external" href="http://xavier.perseguers.ch/en/tutorials/typo3/articles/managing-localization-files.html">http://xavier.perseguers.ch/en/tutorials/typo3/articles/managing-localization-files.html</a></p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1471722013-01-08T11:58:54ZDaniel Alderdalder@snowflake.ch
<ul></ul><p>Ok thanks here it is:<br /><a class="external" href="https://review.typo3.org/17414">https://review.typo3.org/17414</a></p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1473112013-01-09T14:56:06ZDmitry Dulepov
<ul></ul><p>plugin.tx_whatever._LOCAL_LANG.default.my_label = Hello, world!</p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1473122013-01-09T14:57:30ZDmitry Dulepov
<ul></ul><p>Needs tests with llxmltranslate and translation server.</p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1473222013-01-09T16:15:13ZDaniel Alderdalder@snowflake.ch
<ul></ul><p>in theory "_LOCAL_LANG.default" works as expected:<br />it's a fault of the concept 'cause it's overwriting the $this->LOCAL_LANG['default']. So if you don't use an l10n 'en' file labels will be outputted from TS.<br />But if you are using a l10n 'en' entry the 'en' is the primary key, not 'default' (see $GLOBALS['TSFE']->config['config']['language']). So not the "_LOCAL_LANG.default" label will be shown but the l10n.</p>
<p>but please visit:<br /><a class="external" href="http://wiki.typo3.org/TypoScript_language_additions,_override">http://wiki.typo3.org/TypoScript_language_additions,_override</a></p>
<p>It's wrong with or without my patch: [language:default|de|en|...]</p>
<p>Without the patch just 'default' is working not 'en'<br />With my patch 'en' is working, 'default' not.</p>
<p>So tell me what's correct? And if both 'default' & 'en' should work. Which one is prefered?<br />I am comming up with a patch if the question will be answerd.</p>
<p>The problem is located in the "pi_loadLL" function.</p>
<p>...something tells me, that the typo3 community has no unit how the translation handling should work. documentation, logic, code and people, everything is full of contradiction.</p>
<p>wouldn't it be better to start with overthinking the whole translation handling?</p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1473242013-01-09T16:22:54ZDaniel Alderdalder@snowflake.ch
<ul></ul><p>...don't take it personally but:<br />llxmltranslate is not part of the core.<br />nobody showed consideration for snowbabel, since this issue breaks it completely.</p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1473622013-01-10T08:18:19ZDmitry Dulepov
<ul></ul><p>Yes, llxmltranslate is not a part of the core but it is the official translation tool for the older versions. So we have to check. And translation server must still work properly with these changes.</p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1502592013-02-06T18:53:32ZGerrit Code Review
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Under Review</i></li></ul><p>Patch set 2 for branch <strong>master</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/17414">https://review.typo3.org/17414</a></p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1503192013-02-07T10:50:01ZGerrit Code Review
<ul></ul><p>Patch set 3 for branch <strong>master</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/17414">https://review.typo3.org/17414</a></p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1512482013-02-14T15:09:34ZXavier Perseguersxavier@typo3.org
<ul></ul><p>Dmitry Dulepov wrote:</p>
<blockquote>
<p>Yes, llxmltranslate is not a part of the core but it is the official translation tool for the older versions. So we have to check. And translation server must still work properly with these changes.</p>
</blockquote>
<p>No problem with the translation server. Translation server (pootle) is working with a "template" source language which is "English" for us and then can translate in other languages. English as se never appears.</p>
<p>We are changing the behaviour of TYPO3 starting from 4.6, so for older versions, there is no side-effect.</p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1512502013-02-14T15:18:43ZGerrit Code Review
<ul></ul><p>Patch set 1 for branch <strong>TYPO3_6-0</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/18262">https://review.typo3.org/18262</a></p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1512512013-02-14T15:20:32ZGerrit Code Review
<ul></ul><p>Patch set 1 for branch <strong>TYPO3_4-7</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/18263">https://review.typo3.org/18263</a></p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1512522013-02-14T15:22:12ZGerrit Code Review
<ul></ul><p>Patch set 1 for branch <strong>TYPO3_4-6</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/18264">https://review.typo3.org/18264</a></p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1512532013-02-14T15:30:38ZDaniel Alderdalder@snowflake.ch
<ul><li><strong>Status</strong> changed from <i>Under Review</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="[BUGFIX] Allow "en" as language key Fix a bug which was introduced by #25397 (commit:cb390c79). ..." href="http://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/8df3441a757f2aa5c10348ca432bcc98f565e448">8df3441a757f2aa5c10348ca432bcc98f565e448</a>.</p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1533192013-03-04T20:16:02ZGerrit Code Review
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Under Review</i></li></ul><p>Patch set 1 for branch <strong>master_new</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/18653">https://review.typo3.org/18653</a></p> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=1533652013-03-04T21:04:17ZChristian Kuhnlolli@schwarzbu.ch
<ul><li><strong>Status</strong> changed from <i>Under Review</i> to <i>Resolved</i></li></ul> TYPO3 Core - Bug #42084: Translation 'en' missinghttp://forge.typo3.org/issues/42084?journal_id=3846012018-10-02T12:16:44ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>